@@ -255,7 +255,7 @@ |
||
255 | 255 | * withString function. |
256 | 256 | * |
257 | 257 | * @access protected |
258 | - * @param mixed $str |
|
258 | + * @param string $string |
|
259 | 259 | * @return Uri |
260 | 260 | */ |
261 | 261 | protected function withString($string, $name = 'query') |
@@ -263,7 +263,7 @@ |
||
263 | 263 | if (!is_string($string) && !method_exists($string, '__toString')) { |
264 | 264 | throw new InvalidArgumentException('Uri fragment must be a string'); |
265 | 265 | } |
266 | - $string = ltrim((string)$string, '#'); |
|
266 | + $string = ltrim((string) $string, '#'); |
|
267 | 267 | $clone = clone $this; |
268 | 268 | $clone->$name = $this->filterQuery($string); |
269 | 269 |
@@ -272,7 +272,7 @@ |
||
272 | 272 | * @param mixed $method |
273 | 273 | * @param string $pattern |
274 | 274 | * @param mixed $handler |
275 | - * @return Resilient\Design\RouteableInterface |
|
275 | + * @return Router |
|
276 | 276 | */ |
277 | 277 | public function map($method, string $pattern, $handler) |
278 | 278 | { |