diff --git a/src/Menu/ActiveChecker.php b/src/Menu/ActiveChecker.php index 2ea6c697..299c1465 100644 --- a/src/Menu/ActiveChecker.php +++ b/src/Menu/ActiveChecker.php @@ -41,7 +41,7 @@ protected function checkExact($url) protected function checkSub($url) { - return $this->checkPattern($url . '/*'); + return $this->checkPattern($url.'/*'); } protected function checkPattern($pattern) diff --git a/tests/TestCase.php b/tests/TestCase.php index b7602f7d..9e94c435 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -19,7 +19,9 @@ class TestCase extends PHPUnit_Framework_TestCase { - private $dispatcher, $routeCollection; + private $dispatcher; + + private $routeCollection; protected function makeMenuBuilder($uri = 'http://example.com', GateContract $gate = null) {