@@ -105,7 +105,7 @@ discard block  | 
                                                    ||
| 105 | 105 | * @param array $data The data to interpolate into the URI; data keys  | 
                                                        
| 106 | 106 | * map to attribute tokens in the path.  | 
                                                        
| 107 | 107 | *  | 
                                                        
| 108 | - * @return string|false A URI path string if the route name is found, or  | 
                                                        |
| 108 | + * @return string A URI path string if the route name is found, or  | 
                                                        |
| 109 | 109 | * boolean false if not.  | 
                                                        
| 110 | 110 | *  | 
                                                        
| 111 | 111 | * @throws Exception\RouteNotFound  | 
                                                        
@@ -125,7 +125,7 @@ discard block  | 
                                                    ||
| 125 | 125 | * @param array $data The data to interpolate into the URI; data keys  | 
                                                        
| 126 | 126 | * map to attribute tokens in the path.  | 
                                                        
| 127 | 127 | *  | 
                                                        
| 128 | - * @return string|false A URI path string if the route name is found, or  | 
                                                        |
| 128 | + * @return string A URI path string if the route name is found, or  | 
                                                        |
| 129 | 129 | * boolean false if not.  | 
                                                        
| 130 | 130 | *  | 
                                                        
| 131 | 131 | * @throws Exception\RouteNotFound  | 
                                                        
@@ -279,7 +279,7 @@ discard block  | 
                                                    ||
| 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)  | 
                                                        
@@ -103,7 +103,7 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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 | *  | 
                                                        
@@ -8,7 +8,6 @@  | 
                                                    ||
| 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;  | 
                                                        
@@ -157,7 +157,7 @@ discard block  | 
                                                    ||
| 157 | 157 | /**  | 
                                                        
| 158 | 158 | * mapFactory  | 
                                                        
| 159 | 159 | *  | 
                                                        
| 160 | - * @return mixed  | 
                                                        |
| 160 | + * @return Map  | 
                                                        |
| 161 | 161 | *  | 
                                                        
| 162 | 162 | * @access protected  | 
                                                        
| 163 | 163 | */  | 
                                                        
@@ -291,7 +291,7 @@ discard block  | 
                                                    ||
| 291 | 291 | *  | 
                                                        
| 292 | 292 | * Gets the shared Logger instance.  | 
                                                        
| 293 | 293 | *  | 
                                                        
| 294 | - * @return Logger  | 
                                                        |
| 294 | + * @return \Psr\Log\LoggerInterface  | 
                                                        |
| 295 | 295 | *  | 
                                                        
| 296 | 296 | */  | 
                                                        
| 297 | 297 | public function getLogger()  | 
                                                        
@@ -321,7 +321,7 @@ discard block  | 
                                                    ||
| 321 | 321 | *  | 
                                                        
| 322 | 322 | * Gets the rule iterator instance.  | 
                                                        
| 323 | 323 | *  | 
                                                        
| 324 | - * @return RuleIterator  | 
                                                        |
| 324 | + * @return Rule\RuleIterator  | 
                                                        |
| 325 | 325 | *  | 
                                                        
| 326 | 326 | */  | 
                                                        
| 327 | 327 | public function getRuleIterator()  | 
                                                        
@@ -51,7 +51,7 @@  | 
                                                    ||
| 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 | *  | 
                                                        
@@ -73,7 +73,7 @@  | 
                                                    ||
| 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 | *  | 
                                                        
@@ -90,7 +90,7 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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 | *  |