mirror of
https://github.com/Intervention/image.git
synced 2025-08-12 00:43:59 +02:00
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 Driver $driver
|
||||||
* @param mixed $core
|
* @param mixed $core
|
||||||
*/
|
*/
|
||||||
public function __construct($driver = null, $core = null)
|
public function __construct(AbstractDriver $driver = null, $core = null)
|
||||||
{
|
{
|
||||||
$this->driver = $driver;
|
$this->driver = $driver;
|
||||||
$this->core = $core;
|
$this->core = $core;
|
||||||
|
Reference in New Issue
Block a user