mirror of
https://github.com/Intervention/image.git
synced 2025-01-17 20:28:21 +01:00
fixed default parameter
This commit is contained in:
parent
debd4477cc
commit
22283213a0
@ -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);
|
||||||
|
|
||||||
imageinterlace($image->getCore(), $mode);
|
imageinterlace($image->getCore(), $mode);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user