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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user