Skip to content

Commit

Permalink
Fixing code style
Browse files Browse the repository at this point in the history
  • Loading branch information
PGBI committed Mar 13, 2015
1 parent 7019aa6 commit c08e3d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Routing/Router.php
Expand Up @@ -897,9 +897,9 @@ public static function scope($path, $params = [], $callback = null)
*/
public static function prefix($name, $params = [], $callback = null)
{
if($callback === null) {
if ($callback === null) {
$callback = $params;
$params = [];
$params = [];
}
$name = Inflector::underscore($name);
$path = '/' . $name;
Expand Down

0 comments on commit c08e3d2

Please sign in to comment.