@@ -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 | { |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * @param BinaryInterface $binary |
| 111 | 111 | * @param array $options |
| 112 | - * @param null $prefix |
|
| 112 | + * @param string $prefix |
|
| 113 | 113 | * |
| 114 | 114 | * @return string |
| 115 | 115 | */ |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | 155 | * @param Process $process |
| 156 | - * @param array $validReturns |
|
| 156 | + * @param integer[] $validReturns |
|
| 157 | 157 | * @param array $errorStrings |
| 158 | 158 | * |
| 159 | 159 | * @return bool |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Liip\ImagineBundle\Binary\FileBinaryInterface; |
| 16 | 16 | use Symfony\Component\Filesystem\Exception\IOException; |
| 17 | 17 | use Symfony\Component\Filesystem\Filesystem; |
| 18 | -use Symfony\Component\Process\Exception\ProcessFailedException; |
|
| 19 | 18 | use Symfony\Component\Process\Process; |
| 20 | 19 | |
| 21 | 20 | abstract class AbstractPostProcessor implements PostProcessorInterface |