File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ class Registrar
2323 /**
2424 * DB config array for testing purposes.
2525 *
26- * @var array
26+ * @var array<string, array<string, array<string, bool|int|string>|bool|int|string>>
2727 */
28- protected static $ dbConfig = [
28+ protected static array $ dbConfig = [
2929 'MySQLi ' => [
3030 'DSN ' => '' ,
3131 'hostname ' => '127.0.0.1 ' ,
@@ -126,9 +126,9 @@ class Registrar
126126 /**
127127 * Override database config
128128 *
129- * @return array
129+ * @return array<string, array<string, bool|int|string>|bool|int|string>
130130 */
131- public static function Database ()
131+ public static function Database (): array
132132 {
133133 $ config = [];
134134
@@ -146,9 +146,9 @@ public static function Database()
146146 *
147147 * @see PublisherRestrictionsTest::testRegistrarsNotAllowed()
148148 *
149- * @return array
149+ * @return array<string, array<string, string>>
150150 */
151- public static function Publisher ()
151+ public static function Publisher (): array
152152 {
153153 return [
154154 'restrictions ' => [SUPPORTPATH => '* ' ],
You can’t perform that action at this time.
0 commit comments