Completed
Branch master (f12285)
by Anton
01:56
created
Category
source/Vault/VaultRoute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
source/VaultModule.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,14 +42,14 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
source/Vault/Navigation/Section.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
source/Vault/Vault.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.