@@ -136,7 +136,7 @@ |
||
| 136 | 136 | : (!empty($meta['seekable']) |
| 137 | 137 | ? $meta['seekable'] |
| 138 | 138 | : false |
| 139 | - ); |
|
| 139 | + ); |
|
| 140 | 140 | |
| 141 | 141 | if (isset($options['writable']) && is_bool($options['writable'])) { |
| 142 | 142 | $this->writable = $options['writable']; |
@@ -124,9 +124,9 @@ |
||
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | /** |
| 127 | - * Create uploaded file from global variable $_FILES |
|
| 128 | - * @return array<mixed> |
|
| 129 | - */ |
|
| 127 | + * Create uploaded file from global variable $_FILES |
|
| 128 | + * @return array<mixed> |
|
| 129 | + */ |
|
| 130 | 130 | public static function createFromGlobals(): array |
| 131 | 131 | { |
| 132 | 132 | return static::normalize($_FILES); |
@@ -198,10 +198,10 @@ |
||
| 198 | 198 | |
| 199 | 199 | if ($size === null) { |
| 200 | 200 | $that = $that->withHeader('Transfer-Encoding', 'chunked') |
| 201 | - ->withoutHeader('Content-Length'); |
|
| 201 | + ->withoutHeader('Content-Length'); |
|
| 202 | 202 | } else { |
| 203 | 203 | $that = $that->withHeader('Content-Length', (string) $size) |
| 204 | - ->withoutHeader('Transfer-Encoding'); |
|
| 204 | + ->withoutHeader('Transfer-Encoding'); |
|
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | return $that; |