Skip to content
Permalink
Browse files

Derp. forgot to close function.

  • Loading branch information...
devcorrelator committed May 4, 2018
1 parent 9fb4d6e commit 3cf4efbd591f0fae0cd5a4a3d64c422fb864f744
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/Routing/RouteBuilder.php
@@ -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)
];
}
}

0 comments on commit 3cf4efb

Please sign in to comment.
You can’t perform that action at this time.