Passed
Push — master ( be4e4a...469584 )
by Mehmet
02:53
created
src/Router.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -160,6 +160,7 @@
 block discarded – undo
160 160
      * @param  string                      $action
161 161
      * @param  int                         $returnType
162 162
      * @param  string                      $alias
163
+     * @param string $requestMethods
163 164
      * @throws InvalidArgumentException
164 165
      * @throws UnexpectedValueException
165 166
      */
Please login to merge, or discard this patch.
src/Dispatcher.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
     private $routerClosures = [];
39 39
 
40 40
 
41
+    /**
42
+     * @param null|string $cachedFile
43
+     */
41 44
     public function __construct(array $routes, int $defaultReturnType, ?string  $cachedFile)
42 45
     {
43 46
         $this->routes = $routes;
@@ -69,6 +72,9 @@  discard block
 block discarded – undo
69 72
         return new FastRoute\Dispatcher\GroupCountBased($routeCollector->getData());
70 73
     }
71 74
 
75
+    /**
76
+     * @param FastRoute\RouteCollector $routeCollector
77
+     */
72 78
     private function createCachedRoute($routeCollector) : void
73 79
     {
74 80
         if ($this->cachedFile !== null && !file_exists($this->cachedFile)) {
Please login to merge, or discard this patch.