From b7c20476efcd2684ee2cd76c7f7a603fb959e953 Mon Sep 17 00:00:00 2001 From: Peter Gribanov Date: Mon, 18 Nov 2024 22:51:17 +0300 Subject: [PATCH] fix CS --- src/Reader/ReaderFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Reader/ReaderFactory.php b/src/Reader/ReaderFactory.php index a8847d6..8be1daf 100644 --- a/src/Reader/ReaderFactory.php +++ b/src/Reader/ReaderFactory.php @@ -41,7 +41,7 @@ public function __construct(array $databases, string $reader_class = Reader::cla * * @return Reader */ - public function create(string $database, array $locales = null): Reader + public function create(string $database, ?array $locales = null): Reader { if (!array_key_exists($database, $this->databases)) { $databases = implode('", "', array_keys($this->databases));