Test Setup Failed
Push — master ( b527da...9fdb7a )
by Mehmet
05:49
created
src/Router.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -153,6 +153,9 @@
 block discarded – undo
153 153
         return $requestPath;
154 154
     }
155 155
 
156
+    /**
157
+     * @param string $requestMethods
158
+     */
156 159
     public function add(
157 160
         $requestMethods,
158 161
         string $route,
Please login to merge, or discard this patch.
src/Dispatcher.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
         FastRoute\Dispatcher::NOT_FOUND => 404
44 44
     ];
45 45
 
46
+    /**
47
+     * @param null|string $cacheFile
48
+     */
46 49
     public function __construct(array $routes, int $defaultReturnType, ?string  $cacheFile)
47 50
     {
48 51
         $this->routes = $routes;
@@ -71,6 +74,9 @@  discard block
 block discarded – undo
71 74
         return new FastRoute\Dispatcher\GroupCountBased($routeCollector->getData());
72 75
     }
73 76
 
77
+    /**
78
+     * @param FastRoute\RouteCollector $routeCollector
79
+     */
74 80
     private function createCachedRoute($routeCollector) : void
75 81
     {
76 82
         if ($this->cacheFile !== null && !file_exists($this->cacheFile)) {
Please login to merge, or discard this patch.