Completed
Push — 3.x ( ac7528...9167a3 )
by Akihito
11s
created
src/Matcher.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      *
104 104
      * @param ServerRequestInterface $request The incoming request.
105 105
      *
106
-     * @return Route|false Returns a route object when it finds a match, or
106
+     * @return boolean Returns a route object when it finds a match, or
107 107
      * boolean false if there is no match.
108 108
      *
109 109
      */
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      *
188 188
      * @param string $path The request path.
189 189
      *
190
-     * @param mixed $rule The rule that failed.
190
+     * @param Rule\RuleInterface $rule The rule that failed.
191 191
      *
192 192
      * @param int $score The failure score.
193 193
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  */
9 9
 namespace Aura\Router;
10 10
 
11
-use Aura\Router\Exception;
12 11
 use Aura\Router\Rule\RuleIterator;
13 12
 use Psr\Http\Message\ServerRequestInterface;
14 13
 use Psr\Log\LoggerInterface;
Please login to merge, or discard this patch.
src/Rule/Accepts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param array $routeAccepts What the route accepts.
53 53
      *
54
-     * @param array $requestAccepts What the request accepts.
54
+     * @param string[] $requestAccepts What the request accepts.
55 55
      *
56 56
      * @return bool
57 57
      *
Please login to merge, or discard this patch.
src/Rule/Host.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      *
74 74
      * Gets the attributes out of the regex matches.
75 75
      *
76
-     * @param array $matches The regex matches.
76
+     * @param string[] $matches The regex matches.
77 77
      *
78 78
      * @return array
79 79
      *
Please login to merge, or discard this patch.
src/Rule/Path.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      *
91 91
      * Gets the attributes from the path.
92 92
      *
93
-     * @param array $matches The array of matches.
93
+     * @param string[] $matches The array of matches.
94 94
      *
95 95
      * @param string $wildcard The name of the wildcard attributes.
96 96
      *
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      *
165 165
      * Gets the replacement for optional attributes in the regex.
166 166
      *
167
-     * @param array $list The optional attributes.
167
+     * @param string $list The optional attributes.
168 168
      *
169 169
      * @return string
170 170
      *
Please login to merge, or discard this patch.
src/Generator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
      *
280 280
      * @param string $val The value to encode or leave raw.
281 281
      *
282
-     * @return mixed
282
+     * @return string|null
283 283
      *
284 284
      */
285 285
     protected function encode($val)
Please login to merge, or discard this patch.
src/RouterContainer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
     /**
160 160
      * mapFactory
161 161
      *
162
-     * @return mixed
162
+     * @return Map
163 163
      *
164 164
      * @access protected
165 165
      */
Please login to merge, or discard this patch.