Skip to content

Commit

Permalink
Match method signature in the parent class.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Mar 5, 2015
1 parent e8a9225 commit a19cf11
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions nag/lib/Driver.php
Expand Up @@ -489,14 +489,19 @@ public function get($taskId)
}

/**
* Retrieves one task from the database by UID.
* Retrieves one or multiple tasks from the database by UID.
*
* @param string $uid The UID of the task to retrieve.
* @param string|array $uid The UID(s) of the task to retrieve.
* @param array $tasklists An optional array of tasklists to search.
* @param boolean $getall If true, return all instances of the task,
* otherwise only one. Attempts to find the
* instance owned by the current user.
*
* @return Nag_Task A Nag_Task object.
* @throws Horde_Exception_NotFound
* @throws Nag_Exception
*/
public function getByUID($uid)
public function getByUID($uids, array $tasklists = null, $getall = true)
{
throw new Nag_Exception($this->_errormsg);
}
Expand Down

0 comments on commit a19cf11

Please sign in to comment.