Completed
Pull Request — master (#1219)
by
unknown
01:23
created
Imagine/Filter/PostProcessor/AbstractPostProcessor.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
      */
36 36
     private $filesystem;
37 37
 
38
+    /**
39
+     * @param string|null $temporaryRootPath
40
+     */
38 41
     public function __construct(string $executablePath, ?string $temporaryRootPath)
39 42
     {
40 43
         $this->executablePath = $executablePath;
@@ -93,6 +96,9 @@  discard block
 block discarded – undo
93 96
         return $temporary;
94 97
     }
95 98
 
99
+    /**
100
+     * @param string $prefix
101
+     */
96 102
     protected function acquireTemporaryFilePath(array $options, $prefix = null): string
97 103
     {
98 104
         $root = $options['temp_dir'] ?? $this->temporaryRootPath ?: sys_get_temp_dir();
Please login to merge, or discard this patch.