1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-27 15:50:09 +02:00

interlace command default param

This commit is contained in:
Oliver Vogel
2014-05-12 19:17:56 +02:00
parent a41a72ad3d
commit 6f22475780

View File

@@ -6,7 +6,7 @@ class InterlaceCommand extends \Intervention\Image\Commands\AbstractCommand
{ {
public function execute($image) public function execute($image)
{ {
$mode = $this->getArgument(0); $mode = $this->getArgument(0, true);
if ($mode) { if ($mode) {
$mode = \Imagick::INTERLACE_LINE; $mode = \Imagick::INTERLACE_LINE;