diff --git a/composer.json b/composer.json index 6aea050e..48e5f292 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "laravel/framework": "^10.0", + "laravel/framework": "^10.0|^11.0|^12.0", "softcreatr/jsonpath": "^0.7.2" }, "autoload": { diff --git a/src/Etl.php b/src/Etl.php index 7cbc4f19..405b08fb 100644 --- a/src/Etl.php +++ b/src/Etl.php @@ -29,7 +29,7 @@ class Etl * @param Pipeline $pipeline * @return void */ - public function __construct(Container $container = null, Pipeline $pipeline = null) + public function __construct(?Container $container = null, Pipeline $pipeline = null) { $this->container = $container ?? Container::getInstance(); $this->pipeline = $pipeline ?? new Pipeline;