Skip to content

Commit

Permalink
Derp. forgot to close function.
Browse files Browse the repository at this point in the history
  • Loading branch information
devcorrelator committed May 4, 2018
1 parent 9fb4d6e commit 3cf4efb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Routing/RouteBuilder.php
Expand Up @@ -753,21 +753,21 @@ protected static function parseDefaults($defaults)
switch (count($matches)) {
case 2:
return [
'controller' => (isset($matches[3] ? $matches[3] : null),
'action' => (isset($matches[4] ? $matches[4] : null)
'controller' => (isset($matches[3]) ? $matches[3] : null),
'action' => (isset($matches[4]) ? $matches[4] : null)
];
case 3:
return [
'prefix' => (isset($matches[2]) ? strtolower($matches[2]) : null),
'controller' => (isset($matches[3] ? $matches[3] : null),
'action' => (isset($matches[4] ? $matches[4] : null)
'controller' => (isset($matches[3]) ? $matches[3] : null),
'action' => (isset($matches[4]) ? $matches[4] : null)
];
case 4:
return [
'plugin' => (isset($matches[1] ? $matches[1] : null),
'plugin' => (isset($matches[1]) ? $matches[1] : null),
'prefix' => (isset($matches[2]) ? strtolower($matches[2]) : null),
'controller' => (isset($matches[3] ? $matches[3] : null),
'action' => (isset($matches[4] ? $matches[4] : null)
'controller' => (isset($matches[3]) ? $matches[3] : null),
'action' => (isset($matches[4]) ? $matches[4] : null)
];
}
}
Expand Down

0 comments on commit 3cf4efb

Please sign in to comment.