@@ -255,8 +255,8 @@  | 
                                                    ||
| 255 | 255 | }  | 
                                                        
| 256 | 256 | |
| 257 | 257 | /**  | 
                                                        
| 258 | - * @param string|string[]|null $paths  | 
                                                        |
| 259 | - * @param string|string[]|null $filters  | 
                                                        |
| 258 | + * @param string $paths  | 
                                                        |
| 259 | + * @param string $filters  | 
                                                        |
| 260 | 260 | */  | 
                                                        
| 261 | 261 | public function remove($paths = null, $filters = null)  | 
                                                        
| 262 | 262 |      { | 
                                                        
@@ -182,7 +182,7 @@ discard block  | 
                                                    ||
| 182 | 182 | *  | 
                                                        
| 183 | 183 | * @param string $path  | 
                                                        
| 184 | 184 | *  | 
                                                        
| 185 | - * @return string  | 
                                                        |
| 185 | + * @return \CFResponse  | 
                                                        |
| 186 | 186 | */  | 
                                                        
| 187 | 187 | protected function getObjectUrl($path)  | 
                                                        
| 188 | 188 |      { | 
                                                        
@@ -196,7 +196,7 @@ discard block  | 
                                                    ||
| 196 | 196 | *  | 
                                                        
| 197 | 197 | * @throws \S3_Exception  | 
                                                        
| 198 | 198 | *  | 
                                                        
| 199 | - * @return bool  | 
                                                        |
| 199 | + * @return boolean|null  | 
                                                        |
| 200 | 200 | */  | 
                                                        
| 201 | 201 | protected function objectExists($objectPath)  | 
                                                        
| 202 | 202 |      { | 
                                                        
@@ -204,7 +204,7 @@ discard block  | 
                                                    ||
| 204 | 204 | }  | 
                                                        
| 205 | 205 | |
| 206 | 206 | /**  | 
                                                        
| 207 | - * @param mixed $message  | 
                                                        |
| 207 | + * @param string $message  | 
                                                        |
| 208 | 208 | * @param array $context  | 
                                                        
| 209 | 209 | */  | 
                                                        
| 210 | 210 | protected function logError($message, array $context = [])  | 
                                                        
@@ -130,6 +130,8 @@  | 
                                                    ||
| 130 | 130 | |
| 131 | 131 | /**  | 
                                                        
| 132 | 132 |       * {@inheritdoc} | 
                                                        
| 133 | + * @param string $path  | 
                                                        |
| 134 | + * @param string $filter  | 
                                                        |
| 133 | 135 | */  | 
                                                        
| 134 | 136 | protected function getFileUrl($path, $filter)  | 
                                                        
| 135 | 137 |      { | 
                                                        
@@ -70,6 +70,9 @@  | 
                                                    ||
| 70 | 70 | return new FileBinary($path, $mimeType, $extension);  | 
                                                        
| 71 | 71 | }  | 
                                                        
| 72 | 72 | |
| 73 | + /**  | 
                                                        |
| 74 | + * @param string|null $mimeType  | 
                                                        |
| 75 | + */  | 
                                                        |
| 73 | 76 | private function getExtension(?string $mimeType): ?string  | 
                                                        
| 74 | 77 |      { | 
                                                        
| 75 | 78 |          if ($this->extensionGuesser instanceof DeprecatedExtensionGuesserInterface) { | 
                                                        
@@ -61,6 +61,9 @@  | 
                                                    ||
| 61 | 61 | );  | 
                                                        
| 62 | 62 | }  | 
                                                        
| 63 | 63 | |
| 64 | + /**  | 
                                                        |
| 65 | + * @param string|false $mimeType  | 
                                                        |
| 66 | + */  | 
                                                        |
| 64 | 67 | private function getExtension(?string $mimeType): ?string  | 
                                                        
| 65 | 68 |      { | 
                                                        
| 66 | 69 |          if ($this->extensionGuesser instanceof DeprecatedExtensionGuesserInterface) { | 
                                                        
@@ -171,6 +171,9 @@  | 
                                                    ||
| 171 | 171 | return $defaultImage;  | 
                                                        
| 172 | 172 | }  | 
                                                        
| 173 | 173 | |
| 174 | + /**  | 
                                                        |
| 175 | + * @param string|null $mimeType  | 
                                                        |
| 176 | + */  | 
                                                        |
| 174 | 177 | private function getExtension(?string $mimeType): ?string  | 
                                                        
| 175 | 178 |      { | 
                                                        
| 176 | 179 |          if ($this->extensionGuesser instanceof DeprecatedExtensionGuesserInterface) { | 
                                                        
@@ -135,6 +135,9 @@  | 
                                                    ||
| 135 | 135 | }, $path, $filter, $hash);  | 
                                                        
| 136 | 136 | }  | 
                                                        
| 137 | 137 | |
| 138 | + /**  | 
                                                        |
| 139 | + * @param string $hash  | 
                                                        |
| 140 | + */  | 
                                                        |
| 138 | 141 | private function createRedirectResponse(\Closure $url, string $path, string $filter, ?string $hash = null): RedirectResponse  | 
                                                        
| 139 | 142 |      { | 
                                                        
| 140 | 143 |          try { | 
                                                        
@@ -15,7 +15,6 @@  | 
                                                    ||
| 15 | 15 | use Symfony\Component\Console\Input\InputInterface;  | 
                                                        
| 16 | 16 | use Symfony\Component\Console\Output\OutputInterface;  | 
                                                        
| 17 | 17 | use Symfony\Component\Console\Style\SymfonyStyle;  | 
                                                        
| 18 | -use Symfony\Component\Console\Terminal;  | 
                                                        |
| 19 | 18 | |
| 20 | 19 | /**  | 
                                                        
| 21 | 20 | * @internal  |