Completed
Pull Request — master (#382)
by Alexandre
30:39
created
src/Tools/ResponseResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
         }
38 38
     }
39 39
 
40
+    /**
41
+     * @param Route $route
42
+     */
40 43
     public static function getResponse($route, $tags, $rulesToApply)
41 44
     {
42 45
         return (new static($route))->resolve($tags, $rulesToApply);
Please login to merge, or discard this patch.
src/Tools/ResponseStrategies/ResponseCallStrategy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @param Route $route
59 59
      * @param array $bindings
60 60
      *
61
-     * @return mixed
61
+     * @return string
62 62
      */
63 63
     protected function replaceUrlParameterBindings(Route $route, $bindings)
64 64
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     }
190 190
 
191 191
     /**
192
-     * @param $request
192
+     * @param Request $request
193 193
      *
194 194
      * @return \Symfony\Component\HttpFoundation\Response
195 195
      */
Please login to merge, or discard this patch.
src/Generators/Generator.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * @param Route $route
17 17
      *
18
-     * @return mixed
18
+     * @return string
19 19
      */
20 20
     public function getUri(Route $route)
21 21
     {
@@ -34,7 +34,6 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param  \Illuminate\Routing\Route $route
37
-     * @param array $apply Rules to apply when generating documentation for this route
38 37
      *
39 38
      * @return array
40 39
      */
@@ -167,6 +166,9 @@  discard block
 block discarded – undo
167 166
         return 'general';
168 167
     }
169 168
 
169
+    /**
170
+     * @return string
171
+     */
170 172
     private function normalizeParameterType($type)
171 173
     {
172 174
         $typeMap = [
Please login to merge, or discard this patch.