Skip to content

Commit

Permalink
Apply fixes from StyleCI (botman#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot authored May 14, 2019
1 parent b1a8885 commit c49cacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BotMan.php
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ protected function getCallable($callback)
$callback = $this->makeInvokableAction($callback);
}

list($class, $method) = explode('@', $callback);
[$class, $method] = explode('@', $callback);

$command = $this->container ? $this->container->get($class) : new $class($this);

Expand Down

0 comments on commit c49cacb

Please sign in to comment.