@@ -37,7 +37,7 @@ |
||
| 37 | 37 | { |
| 38 | 38 | $route = $this; |
| 39 | 39 | |
| 40 | - return function () use ($route) { |
|
| 40 | + return function() use ($route) { |
|
| 41 | 41 | $matches = $route->getMatches(); |
| 42 | 42 | |
| 43 | 43 | return $route->callAction($matches['controller'], $matches['action'], $matches); |
@@ -42,14 +42,14 @@ |
||
| 42 | 42 | public function publish(PublisherInterface $publisher, DirectoriesInterface $directories) |
| 43 | 43 | { |
| 44 | 44 | $publisher->publish( |
| 45 | - __DIR__ . '/config/vault.php', |
|
| 46 | - $directories->directory('config') . 'modules/vault.php', |
|
| 45 | + __DIR__.'/config/vault.php', |
|
| 46 | + $directories->directory('config').'modules/vault.php', |
|
| 47 | 47 | PublisherInterface::FOLLOW |
| 48 | 48 | ); |
| 49 | 49 | |
| 50 | 50 | $publisher->publishDirectory( |
| 51 | - __DIR__ . '/../resources', //Profiler js, css and modules |
|
| 52 | - $directories->directory('public') . 'resources', //Expected directory in webroot |
|
| 51 | + __DIR__.'/../resources', //Profiler js, css and modules |
|
| 52 | + $directories->directory('public').'resources', //Expected directory in webroot |
|
| 53 | 53 | PublisherInterface::OVERWRITE //We can safely overwrite resources |
| 54 | 54 | ); |
| 55 | 55 | } |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | foreach ($this->items as $item) { |
| 95 | 95 | if ( |
| 96 | 96 | $item->getTarget() == $controller |
| 97 | - || strpos($item->getTarget(), $controller . ':') === 0 |
|
| 97 | + || strpos($item->getTarget(), $controller.':') === 0 |
|
| 98 | 98 | ) { |
| 99 | 99 | return true; |
| 100 | 100 | } |
@@ -199,7 +199,7 @@ |
||
| 199 | 199 | */ |
| 200 | 200 | protected function execute($controller, $action, array $parameters) |
| 201 | 201 | { |
| 202 | - $benchmark = $this->benchmark('callAction', $controller . '::' . ($action ?: '~default~')); |
|
| 202 | + $benchmark = $this->benchmark('callAction', $controller.'::'.($action ?: '~default~')); |
|
| 203 | 203 | |
| 204 | 204 | $scope = $this->container->replace(Vault::class, $this); |
| 205 | 205 | $this->controller = $controller; |