Completed
Pull Request — master (#271)
by Guillaume
02:43
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
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Get the response from the docblock if available.
51 51
      *
52
-     * @param array $tags
52
+     * @param Tag[] $tags
53 53
      *
54
-     * @return mixed
54
+     * @return null|\Symfony\Component\HttpFoundation\Response
55 55
      */
56 56
     protected function getDocblockResponse($tags)
57 57
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @param  $route
101
+     * @param  \Illuminate\Routing\Route $route
102 102
      * @param  $bindings
103 103
      * @param  $headers
104 104
      *
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
      * @param  string  $rule
514 514
      * @param  string  $parameter
515 515
      *
516
-     * @return array
516
+     * @return string
517 517
      */
518 518
     protected function parseParameters($rule, $parameter)
519 519
     {
Please login to merge, or discard this patch.
src/Mpociot/ApiDoc/Generators/LaravelGenerator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * @param Route $route
33 33
      *
34
-     * @return mixed
34
+     * @return string
35 35
      */
36 36
     public function getMethods($route)
37 37
     {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     /**
152 152
      * Get a response from the transformer tags.
153 153
      *
154
-     * @param array $tags
154
+     * @param Tag[] $tags
155 155
      *
156 156
      * @return mixed
157 157
      */
Please login to merge, or discard this patch.