diff --git a/tests/_support/Config/Registrar.php b/tests/_support/Config/Registrar.php index d43da3166336..b92c5e24bb16 100644 --- a/tests/_support/Config/Registrar.php +++ b/tests/_support/Config/Registrar.php @@ -23,9 +23,9 @@ class Registrar /** * DB config array for testing purposes. * - * @var array + * @var array|bool|int|string>> */ - protected static $dbConfig = [ + protected static array $dbConfig = [ 'MySQLi' => [ 'DSN' => '', 'hostname' => '127.0.0.1', @@ -126,9 +126,9 @@ class Registrar /** * Override database config * - * @return array + * @return array|bool|int|string> */ - public static function Database() + public static function Database(): array { $config = []; @@ -146,9 +146,9 @@ public static function Database() * * @see PublisherRestrictionsTest::testRegistrarsNotAllowed() * - * @return array + * @return array> */ - public static function Publisher() + public static function Publisher(): array { return [ 'restrictions' => [SUPPORTPATH => '*'],