@@ -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 |      { | 
                                                        
@@ -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 { | 
                                                        
@@ -79,6 +79,9 @@  | 
                                                    ||
| 79 | 79 | return new FileBinary($path, $mimeType, $extension);  | 
                                                        
| 80 | 80 | }  | 
                                                        
| 81 | 81 | |
| 82 | + /**  | 
                                                        |
| 83 | + * @return string|null  | 
                                                        |
| 84 | + */  | 
                                                        |
| 82 | 85 | private function getExtension(?string $mimeType): ?string  | 
                                                        
| 83 | 86 |      { | 
                                                        
| 84 | 87 |          if ($this->extensionGuesser instanceof DeprecatedExtensionGuesserInterface) { | 
                                                        
@@ -176,6 +176,11 @@  | 
                                                    ||
| 176 | 176 | return $defaultImage;  | 
                                                        
| 177 | 177 | }  | 
                                                        
| 178 | 178 | |
| 179 | + /**  | 
                                                        |
| 180 | + * @param string|null $mimeType  | 
                                                        |
| 181 | + *  | 
                                                        |
| 182 | + * @return string|null  | 
                                                        |
| 183 | + */  | 
                                                        |
| 179 | 184 | private function getExtension(?string $mimeType): ?string  | 
                                                        
| 180 | 185 |      { | 
                                                        
| 181 | 186 |          if ($this->extensionGuesser instanceof DeprecatedExtensionGuesserInterface) { | 
                                                        
@@ -179,7 +179,7 @@ discard block  | 
                                                    ||
| 179 | 179 | *  | 
                                                        
| 180 | 180 | * @param string $path  | 
                                                        
| 181 | 181 | *  | 
                                                        
| 182 | - * @return string  | 
                                                        |
| 182 | + * @return \CFResponse  | 
                                                        |
| 183 | 183 | */  | 
                                                        
| 184 | 184 | protected function getObjectUrl($path)  | 
                                                        
| 185 | 185 |      { | 
                                                        
@@ -193,7 +193,7 @@ discard block  | 
                                                    ||
| 193 | 193 | *  | 
                                                        
| 194 | 194 | * @throws \S3_Exception  | 
                                                        
| 195 | 195 | *  | 
                                                        
| 196 | - * @return bool  | 
                                                        |
| 196 | + * @return boolean|null  | 
                                                        |
| 197 | 197 | */  | 
                                                        
| 198 | 198 | protected function objectExists($objectPath)  | 
                                                        
| 199 | 199 |      { | 
                                                        
@@ -201,7 +201,7 @@ discard block  | 
                                                    ||
| 201 | 201 | }  | 
                                                        
| 202 | 202 | |
| 203 | 203 | /**  | 
                                                        
| 204 | - * @param mixed $message  | 
                                                        |
| 204 | + * @param string $message  | 
                                                        |
| 205 | 205 | */  | 
                                                        
| 206 | 206 | protected function logError($message, array $context = [])  | 
                                                        
| 207 | 207 |      { | 
                                                        
@@ -66,6 +66,9 @@  | 
                                                    ||
| 66 | 66 | );  | 
                                                        
| 67 | 67 | }  | 
                                                        
| 68 | 68 | |
| 69 | + /**  | 
                                                        |
| 70 | + * @return string|null  | 
                                                        |
| 71 | + */  | 
                                                        |
| 69 | 72 | private function getExtension(?string $mimeType): ?string  | 
                                                        
| 70 | 73 |      { | 
                                                        
| 71 | 74 |          if ($this->extensionGuesser instanceof DeprecatedExtensionGuesserInterface) { |