Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyCyborg committed Oct 25, 2017
1 parent f01315e commit b18b44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ public function hasMacro($name)
*/
public function __call($method, $parameters)
{
if (isset($this->macros[$name])) {
if (isset($this->macros[$method])) {
$callback = $this->macros[$method];

return call_user_func_array($callback, $parameters);
Expand Down

0 comments on commit b18b44b

Please sign in to comment.