@@ -814,7 +814,7 @@ discard block |
||
814 | 814 | * These values MAY be prepared from $_FILES or the message body during |
815 | 815 | * instantiation, or MAY be injected via withUploadedFiles(). |
816 | 816 | * |
817 | - * @return array |
|
817 | + * @return UploadedFileInterface[] |
|
818 | 818 | */ |
819 | 819 | public function getUploadedFiles() |
820 | 820 | { |
@@ -1142,7 +1142,7 @@ discard block |
||
1142 | 1142 | * @param string $key |
1143 | 1143 | * @param mixed $default |
1144 | 1144 | * |
1145 | - * @return mixed |
|
1145 | + * @return null|string |
|
1146 | 1146 | */ |
1147 | 1147 | public function getParsedBodyParam($key, $default = null) |
1148 | 1148 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | protected $callable; |
81 | 81 | |
82 | 82 | /** |
83 | - * @param string|string[] $methods The route HTTP methods |
|
83 | + * @param string[] $methods The route HTTP methods |
|
84 | 84 | * @param string $pattern The route pattern |
85 | 85 | * @param callable $callable The route callable |
86 | 86 | * @param RouteGroup[] $groups The parent route groups |
@@ -110,7 +110,7 @@ |
||
110 | 110 | } |
111 | 111 | } |
112 | 112 | |
113 | - throw new BadMethodCallException("Method $method is not a valid method"); |
|
113 | + throw new BadMethodCallException("method $method is not a valid method"); |
|
114 | 114 | } |
115 | 115 | |
116 | 116 | /** |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * |
80 | 80 | * @return array|ArrayAccess |
81 | 81 | */ |
82 | - $this['settings'] = function () use ($userSettings, $defaultSettings) { |
|
82 | + $this['settings'] = function() use ($userSettings, $defaultSettings) { |
|
83 | 83 | return new Collection(array_merge($defaultSettings, $userSettings)); |
84 | 84 | }; |
85 | 85 |
@@ -111,7 +111,7 @@ |
||
111 | 111 | /** |
112 | 112 | * Render exception or error as HTML. |
113 | 113 | * |
114 | - * @param Exception|\Error $exception |
|
114 | + * @param Exception $exception |
|
115 | 115 | * |
116 | 116 | * @return string |
117 | 117 | * |