*
* @return array The shares the user has access to.
*/
- public function listShares($userid, $params = array())
+ public function listShares($userid, array $params = array())
{
$params = array_merge(array('perm' => Horde_Perms::SHOW,
'attributes' => null,
*
* @return array The shares the user has access to.
*/
- abstract protected function _listShares($userid, $params = array());
+ abstract protected function _listShares($userid, array $params = array());
/**
* Returns an array of all system shares.
*
* @return array The shares the user has access to.
*/
- protected function _listShares($userid, $params = array())
+ protected function _listShares($userid, array $params = array())
{
$key = serialize(array($this->_type, $userid, $params['perm'], $params['attributes']));
if ($this->_list === false) {
*/
public function setShareOb($shareOb)
{
- if ($shareOb instanceof Horde_Share) {
+ if ($shareOb instanceof Horde_Share_Base) {
$this->_shareOb = $shareOb;
} else {
$this->_shareCallback = $shareOb;
*
* @return array The shares the user has access to.
*/
- protected function _listShares($userid, $params = array())
+ protected function _listShares($userid, array $params = array())
{
}