Completed
Pull Request — master (#306)
by Marcel
01: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   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * @param $route
19 19
      *
20
-     * @return mixed
20
+     * @return string
21 21
      */
22 22
     abstract public function getDomain($route);
23 23
 
@@ -47,7 +47,6 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Prepares / Disables route middlewares.
49 49
      *
50
-     * @param  bool $disable
51 50
      *
52 51
      * @return  void
53 52
      */
@@ -56,9 +55,9 @@  discard block
 block discarded – undo
56 55
     /**
57 56
      * Get the response from the docblock if available.
58 57
      *
59
-     * @param array $tags
58
+     * @param Tag[] $tags
60 59
      *
61
-     * @return mixed
60
+     * @return null|\Symfony\Component\HttpFoundation\Response
62 61
      */
63 62
     protected function getDocblockResponse($tags)
64 63
     {
@@ -132,7 +131,7 @@  discard block
 block discarded – undo
132 131
     }
133 132
 
134 133
     /**
135
-     * @param  $route
134
+     * @param  \Illuminate\Routing\Route $route
136 135
      * @param  $bindings
137 136
      * @param  $headers
138 137
      *
@@ -556,7 +555,7 @@  discard block
 block discarded – undo
556 555
      * @param  string  $rule
557 556
      * @param  string  $parameter
558 557
      *
559
-     * @return array
558
+     * @return string
560 559
      */
561 560
     protected function parseParameters($rule, $parameter)
562 561
     {
Please login to merge, or discard this patch.
src/Mpociot/ApiDoc/Generators/LaravelGenerator.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * @param Route $route
21 21
      *
22
-     * @return mixed
22
+     * @return string|null
23 23
      */
24 24
     public function getDomain($route)
25 25
     {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     /**
45 45
      * @param Route $route
46 46
      *
47
-     * @return mixed
47
+     * @return string
48 48
      */
49 49
     public function getMethods($route)
50 50
     {
@@ -121,7 +121,6 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * Prepares / Disables route middlewares.
123 123
      *
124
-     * @param  bool $disable
125 124
      *
126 125
      * @return  void
127 126
      */
@@ -166,7 +165,7 @@  discard block
 block discarded – undo
166 165
     /**
167 166
      * Get a response from the transformer tags.
168 167
      *
169
-     * @param array $tags
168
+     * @param Tag[] $tags
170 169
      *
171 170
      * @return mixed
172 171
      */
Please login to merge, or discard this patch.