Completed
Pull Request — master (#212)
by Salah
01:44
created
src/Mpociot/ApiDoc/Parsers/RuleDescriptionParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @param null $rule
80
+     * @param string $rule
81 81
      *
82 82
      * @return static
83 83
      */
Please login to merge, or discard this patch.
src/Mpociot/ApiDoc/Generators/DingoGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      *
47 47
      * @param  bool $disable
48 48
      *
49
-     * @return  void
49
+     * @return  boolean
50 50
      */
51 51
     public function prepareMiddleware($disable = true)
52 52
     {
Please login to merge, or discard this patch.
src/Mpociot/ApiDoc/Generators/AbstractGenerator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * Get the response from the docblock if available.
37 37
      *
38
-     * @param array $tags
38
+     * @param Tag[] $tags
39 39
      *
40
-     * @return mixed
40
+     * @return null|\Symfony\Component\HttpFoundation\Response
41 41
      */
42 42
     protected function getDocblockResponse($tags)
43 43
     {
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
      * @param  string $rule
340 340
      * @param  string $parameter
341 341
      *
342
-     * @return array
342
+     * @return string
343 343
      */
344 344
     protected function parseParameters($rule, $parameter)
345 345
     {
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
     }
404 404
 
405 405
     /**
406
-     * @param  $route
406
+     * @param  \Illuminate\Routing\Route $route
407 407
      * @param  $bindings
408 408
      * @param  $headers
409 409
      *
Please login to merge, or discard this patch.
src/Mpociot/ApiDoc/Generators/LaravelGenerator.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     /**
89 89
      * Get a response from the transformer tags.
90 90
      *
91
-     * @param array $tags
91
+     * @param \Mpociot\Reflection\DocBlock\Tag[] $tags
92 92
      *
93 93
      * @return mixed
94 94
      */
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     /**
183 183
      * Get response content use responseclass tag.
184 184
      *
185
-     * @param $tags
185
+     * @param \Mpociot\Reflection\DocBlock\Tag[] $tags
186 186
      *
187 187
      * @return bool|void
188 188
      */
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
     /**
228 228
      * @param Route $route
229 229
      *
230
-     * @return mixed
230
+     * @return string
231 231
      */
232 232
     public function getMethods($route)
233 233
     {
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
      * Get Custom Data from data tag.
326 326
      *
327 327
      * @param $tags
328
-     * @param array $default
328
+     * @param null|false $default
329 329
      *
330 330
      * @return array|null
331 331
      */
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
     /**
351 351
      * Get Response use @data tag.
352 352
      *
353
-     * @param $tags
353
+     * @param \Mpociot\Reflection\DocBlock\Tag[] $tags
354 354
      *
355 355
      * @return bool|\Illuminate\Contracts\Routing\ResponseFactory|\Symfony\Component\HttpFoundation\Response
356 356
      */
Please login to merge, or discard this patch.