| @@ -62,7 +62,7 @@ discard block | ||
| 62 | 62 | /** | 
| 63 | 63 | * Return a response for application/json content not found | 
| 64 | 64 | * | 
| 65 | - * @return ResponseInterface | |
| 65 | + * @return string | |
| 66 | 66 | */ | 
| 67 | 67 | protected function renderJsonNotFoundOutput() | 
| 68 | 68 |      { | 
| @@ -72,7 +72,7 @@ discard block | ||
| 72 | 72 | /** | 
| 73 | 73 | * Return a response for xml content not found | 
| 74 | 74 | * | 
| 75 | - * @return ResponseInterface | |
| 75 | + * @return string | |
| 76 | 76 | */ | 
| 77 | 77 | protected function renderXmlNotFoundOutput() | 
| 78 | 78 |      { | 
| @@ -72,7 +72,7 @@ | ||
| 72 | 72 | /** | 
| 73 | 73 | * Create new route | 
| 74 | 74 | * | 
| 75 | - * @param string|string[] $methods The route HTTP methods | |
| 75 | + * @param string[] $methods The route HTTP methods | |
| 76 | 76 | * @param string $pattern The route pattern | 
| 77 | 77 | * @param callable $callable The route callable | 
| 78 | 78 | * @param RouteGroup[] $groups The parent route groups | 
| @@ -12,7 +12,6 @@ | ||
| 12 | 12 | use InvalidArgumentException; | 
| 13 | 13 | use Psr\Http\Message\ServerRequestInterface; | 
| 14 | 14 | use Psr\Http\Message\ResponseInterface; | 
| 15 | -use Slim\Exception\SlimException; | |
| 16 | 15 | use Slim\Handlers\Strategies\RequestResponse; | 
| 17 | 16 | use Slim\Interfaces\InvocationStrategyInterface; | 
| 18 | 17 | use Slim\Interfaces\RouteInterface; | 
| @@ -183,7 +183,7 @@ | ||
| 183 | 183 | * | 
| 184 | 184 | * @param string[] $methods Array of HTTP methods | 
| 185 | 185 | * @param string $pattern The route pattern | 
| 186 | - * @param callable $handler The route callable | |
| 186 | + * @param callable $callable | |
| 187 | 187 | * | 
| 188 | 188 | * @return \Slim\Interfaces\RouteInterface | 
| 189 | 189 | */ | 
| @@ -12,7 +12,6 @@ discard block | ||
| 12 | 12 | use Throwable; | 
| 13 | 13 | use Closure; | 
| 14 | 14 | use InvalidArgumentException; | 
| 15 | -use Psr\Http\Message\RequestInterface; | |
| 16 | 15 | use Psr\Http\Message\ServerRequestInterface; | 
| 17 | 16 | use Psr\Http\Message\ResponseInterface; | 
| 18 | 17 | use Interop\Container\ContainerInterface; | 
| @@ -24,7 +23,6 @@ discard block | ||
| 24 | 23 | use Slim\Http\Headers; | 
| 25 | 24 | use Slim\Http\Body; | 
| 26 | 25 | use Slim\Http\Request; | 
| 27 | -use Slim\Interfaces\Http\EnvironmentInterface; | |
| 28 | 26 | use Slim\Interfaces\RouteGroupInterface; | 
| 29 | 27 | use Slim\Interfaces\RouteInterface; | 
| 30 | 28 | use Slim\Interfaces\RouterInterface; | 
| @@ -801,7 +801,7 @@ discard block | ||
| 801 | 801 | * These values MAY be prepared from $_FILES or the message body during | 
| 802 | 802 | * instantiation, or MAY be injected via withUploadedFiles(). | 
| 803 | 803 | * | 
| 804 | - * @return array An array tree of UploadedFileInterface instances; an empty | |
| 804 | + * @return UploadedFileInterface[] An array tree of UploadedFileInterface instances; an empty | |
| 805 | 805 | * array MUST be returned if no data is present. | 
| 806 | 806 | */ | 
| 807 | 807 | public function getUploadedFiles() | 
| @@ -1134,7 +1134,7 @@ discard block | ||
| 1134 | 1134 | * @param string $key | 
| 1135 | 1135 | * @param mixed $default | 
| 1136 | 1136 | * | 
| 1137 | - * @return mixed | |
| 1137 | + * @return null|string | |
| 1138 | 1138 | */ | 
| 1139 | 1139 | public function getParsedBodyParam($key, $default = null) | 
| 1140 | 1140 |      { |