File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class Command
7676 */
7777 protected $ version ;
7878
79- public function __construct (?string $ magickBinaryPath = null )
79+ public function __construct (?string $ magickBinaryPath = '' )
8080 {
8181 $ magickBinaryPath = self ::findMagickBinaryPath ($ magickBinaryPath );
8282
@@ -306,11 +306,11 @@ public function getCommand(): string
306306 /**
307307 * Add a file specification to the command, mostly for source or destination file.
308308 */
309- public function file (string $ source , bool $ checkIfFileExists = true , bool $ appendToCommend = false ): self
309+ public function file (string $ source , bool $ checkIfFileExists = true , bool $ appendToCommand = false ): self
310310 {
311311 $ source = $ checkIfFileExists ? $ this ->checkExistingFile ($ source ) : self ::cleanPath ($ source );
312312 $ source = \str_replace ('\\' , '/ ' , $ source );
313- if ($ appendToCommend ) {
313+ if ($ appendToCommand ) {
314314 $ this ->commandToAppend [] = $ source ;
315315 } else {
316316 $ this ->command [] = $ source ;
You can’t perform that action at this time.
0 commit comments