diff --git a/src/Factory.php b/src/Factory.php index 6e100d2..076096a 100644 --- a/src/Factory.php +++ b/src/Factory.php @@ -1,5 +1,6 @@ update($dso, true); } - public function create(array $data = array()): DSOInterface + public function create(?array $data = array()): DSOInterface { if (!($class = $this->class($data))) { $class = DSO::class;