1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-23 14:02:47 +02:00

enabled default encoding

This commit is contained in:
Oliver Vogel
2014-05-11 18:41:42 +02:00
parent 22283213a0
commit 59707c065c

View File

@@ -21,7 +21,7 @@ class Image extends File
return $command->hasOutput() ? $command->getOutput() : $this; return $command->hasOutput() ? $command->getOutput() : $this;
} }
public function encode($format, $quality = 90) public function encode($format = null, $quality = 90)
{ {
return $this->driver->encode($this, $format, $quality); return $this->driver->encode($this, $format, $quality);
} }