Completed
Branch master (0008ec)
by Maxim
03:49
created
Category
src/Weew/Router/ContainerAware/CallableInvoker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      * @param IRouter $router
25 25
      */
26 26
     public function invoke($callable, IRouter $router) {
27
-        $this->container->call($callable, ['router' => $router]);
27
+        $this->container->call($callable, [ 'router' => $router ]);
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Weew/Router/ContainerAware/FilterInvoker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,6 @@
 block discarded – undo
26 26
      * @return bool
27 27
      */
28 28
     public function invoke($filter, IRoute $route) {
29
-        return $this->container->call($filter, ['route' => $route]);
29
+        return $this->container->call($filter, [ 'route' => $route ]);
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
src/Weew/Router/ContainerAware/ParameterResolverInvoker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
      * @return mixed
26 26
      */
27 27
     public function invoke($resolver, $parameter) {
28
-        return $this->container->call($resolver, ['parameter' => $parameter]);
28
+        return $this->container->call($resolver, [ 'parameter' => $parameter ]);
29 29
     }
30 30
 }
Please login to merge, or discard this patch.