Skip to content

Commit

Permalink
fix helper error
Browse files Browse the repository at this point in the history
  • Loading branch information
yupmin committed May 31, 2019
1 parent 1ca2ae0 commit bd64bc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function phystrix()
}

if (is_string($arguments[0])) {
return app('phystrix.command-factory')->command(...$arguments);
return app('phystrix.command-factory')->getCommand(...$arguments);
}

throw new Exception('You must set pass some arguments.');
}
}
}

0 comments on commit bd64bc6

Please sign in to comment.