Skip to content

Commit

Permalink
hotfix: missing compact uses option
Browse files Browse the repository at this point in the history
  • Loading branch information
eightyfive committed May 3, 2020
1 parent 0e3fd6a commit 3210292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Autoroute.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected function createRoute(
foreach ($verbs as $verb => $options) {
if (is_string($options)) {
$uses = $this->namer->getUses($options);
$options = [];
$options = compact('uses');
} else {
$uses = $options['uses'];
}
Expand Down

0 comments on commit 3210292

Please sign in to comment.