Passed
Push — master ( 641400...00c924 )
by Akmal
02:10
created
src/OpenEngine/Mika/Core/Components/Route/Route.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * @inheritdoc
65 65
      */
66
-    public function __construct
67
-    (
66
+    public function __construct(
68 67
         RouteConfigInterface $routeConfig,
69 68
         RequestInterface $request,
70 69
         ContainerInterface $container
@@ -190,7 +189,7 @@  discard block
 block discarded – undo
190 189
 
191 190
     private function getPart(array $parts, $key): string
192 191
     {
193
-        return !empty($parts[$key]) && $parts[$key] !== '/' ? $parts[$key] :  self::DEFAULT_ROUTE;
192
+        return !empty($parts[$key]) && $parts[$key] !== '/' ? $parts[$key] : self::DEFAULT_ROUTE;
194 193
 
195 194
     }
196 195
 
Please login to merge, or discard this patch.