1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-01 11:30:16 +02:00

Merge pull request #170 from ck86/master

Add AbstractDriver type to $driver argument on constructor
This commit is contained in:
Oliver Vogel
2014-06-28 12:47:48 +02:00

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;