Test Setup Failed
Push — master ( 3034b4...e337a2 )
by Mehmet
06:43
created
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 $cachedFile
48
+     */
46 49
     public function __construct(array $routes, int $defaultReturnType, ?string  $cachedFile)
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->cachedFile !== null && !file_exists($this->cachedFile)) {
Please login to merge, or discard this patch.
src/Router.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -138,6 +138,9 @@
 block discarded – undo
138 138
     }
139 139
 
140 140
 
141
+    /**
142
+     * @param string $requestMethods
143
+     */
141 144
     public function add(
142 145
         $requestMethods,
143 146
         string $route,
Please login to merge, or discard this patch.