Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/iranianpep/botonomous
Browse files Browse the repository at this point in the history
  • Loading branch information
iranianpep committed Jul 13, 2017
2 parents 8fd7d27 + 9835e7c commit 9d69ad4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Botonomous/Slackbot.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private function getPluginClassByCommand(Command $command)
*
* @throws \Exception
*
* @return bool|Command
* @return Command
*/
public function getCommandByMessage($message = null)
{
Expand Down Expand Up @@ -306,10 +306,12 @@ public function getCommandByMessage($message = null)
/**
* Validate the command object.
*
* @param $commandObject
* @param Command|null $commandObject
* @param $command
* @return bool
*
* @throws \Exception
*
* @return bool
*/
private function validateCommandObject($commandObject, $command)
{
Expand Down

0 comments on commit 9d69ad4

Please sign in to comment.