1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-06 22:00:38 +01:00

Add AbstractDriver type to $driver argument on constructor

This commit is contained in:
Christopher Knötschke 2014-06-27 20:30:05 +02:00
parent c77ddc29f5
commit 3ccd372dd9

View File

@ -38,7 +38,7 @@ class Image extends File
* @param Driver $driver
* @param mixed $core
*/
public function __construct($driver = null, $core = null)
public function __construct(AbstractDriver $driver = null, $core = null)
{
$this->driver = $driver;
$this->core = $core;