diff --git a/filesystem/GD.php b/filesystem/GD.php index 8ca8c9569..6869a6f79 100644 --- a/filesystem/GD.php +++ b/filesystem/GD.php @@ -35,6 +35,13 @@ class GDBackend extends Object implements Image_Backend { } } + /** + * __construct + * + * @param string $filename = null + * @param array $args = array() + * @return void + */ public function __construct($filename = null, $args = array()) { // If we're working with image resampling, things could take a while. Bump up the time-limit increase_time_limit_to(300); diff --git a/filesystem/ImagickBackend.php b/filesystem/ImagickBackend.php index 1f5309cef..17acff09a 100644 --- a/filesystem/ImagickBackend.php +++ b/filesystem/ImagickBackend.php @@ -18,9 +18,10 @@ class ImagickBackend extends Imagick implements Image_Backend { * __construct * * @param string $filename = null + * @param array $args = array() * @return void */ - public function __construct($filename = null) { + public function __construct($filename = null, $args = array()) { if(is_string($filename)) { parent::__construct($filename); } diff --git a/model/Image_Backend.php b/model/Image_Backend.php index 919a916f2..e63df2daa 100644 --- a/model/Image_Backend.php +++ b/model/Image_Backend.php @@ -13,9 +13,10 @@ interface Image_Backend { * __construct * * @param string $filename = null + * @param array $args = array() * @return void */ - public function __construct($filename = null); + public function __construct($filename = null, $args = array()); /** * writeTo