Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #30 from rpasing/master
Browse files Browse the repository at this point in the history
Mode  of EventQueue::ircMode() optional
  • Loading branch information
elazar committed Jul 16, 2015
2 parents 802c069 + 9c35114 commit db744bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/EventQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ public function ircPart($channels, $message = null)
* Implements \Phergie\Irc\GeneratorInterface->ircMode().
*
* @param string $target
* @param string $mode
* @param string $param
* @param string|null $mode
* @param string|null $param
*/
public function ircMode($target, $mode, $param = null)
public function ircMode($target, $mode = null, $param = null)
{
$this->queueIrcRequest('MODE', array($target, $mode, $param));
}
Expand Down

0 comments on commit db744bb

Please sign in to comment.