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:
parent
c77ddc29f5
commit
3ccd372dd9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user