Completed
Push — master ( 163fd9...314ef3 )
by Neomerx
02:36
created
src/Application/Application.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @return callable
136
+     * @return string[]
137 137
      */
138 138
     public static function getDefaultRequestFactory()
139 139
     {
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
     /**
299 299
      * @param Closure            $handler
300 300
      * @param ContainerInterface $userContainer
301
-     * @param array|null         $globalMiddleware
301
+     * @param callable[]         $globalMiddleware
302 302
      * @param array|null         $routeMiddleware
303 303
      *
304 304
      * @return Closure
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
      * @param int|string $key
354 354
      * @param mixed      $default
355 355
      *
356
-     * @return mixed
356
+     * @return string
357 357
      */
358 358
     private function getValue(array $config, $key, $default)
359 359
     {
Please login to merge, or discard this patch.
src/Routing/Traits/HasRequestFactoryTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     }
57 57
 
58 58
     /**
59
-     * @return callable
59
+     * @return string[]
60 60
      *
61 61
      * @SuppressWarnings(PHPMD.StaticAccess)
62 62
      */
Please login to merge, or discard this patch.
src/Routing/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
      */
189 189
     public function getName()
190 190
     {
191
-        $result = $this->name !== null ? $this->getGroup()->getName() . $this->name : null;
191
+        $result = $this->name !== null ? $this->getGroup()->getName().$this->name : null;
192 192
 
193 193
         return $result;
194 194
     }
Please login to merge, or discard this patch.
src/Routing/Router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
     {
142 142
         $this->checkRoutesLoaded();
143 143
 
144
-        list(, , $namedRouteUriPaths) = $this->cachedRoutes;
144
+        list(,, $namedRouteUriPaths) = $this->cachedRoutes;
145 145
 
146 146
         $result = array_key_exists($routeName, $namedRouteUriPaths) === true ? $namedRouteUriPaths[$routeName] : null;
147 147
 
Please login to merge, or discard this patch.
src/Routing/NestedGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $parentGroupName = $this->parentGroup()->getName();
48 48
         $selfName        = parent::getName();
49
-        $result          = $parentGroupName !== null || $selfName !== null ? $parentGroupName . $selfName : null;
49
+        $result          = $parentGroupName !== null || $selfName !== null ? $parentGroupName.$selfName : null;
50 50
 
51 51
         return $result;
52 52
     }
Please login to merge, or discard this patch.