diff --git a/src/Sql/SqlBase.php b/src/Sql/SqlBase.php index 39a03a5536..2915202939 100644 --- a/src/Sql/SqlBase.php +++ b/src/Sql/SqlBase.php @@ -71,7 +71,7 @@ public function setProcess(Process $process): void * @param $options * An options array as handed to a command callback. */ - public static function create(array $options = []): SqlBase + public static function create(array $options = []): ?SqlBase { // Set defaults in the unfortunate event that caller doesn't provide values. $options += [