@@ -31,8 +31,7 @@ class Factories
3131 * Store of component-specific options, usually
3232 * from CodeIgniter\Config\Factory.
3333 *
34- * @var array[]
35- * @phpstan-var array<string, array<string, string|bool|null>>
34+ * @var array<string, array<string, bool|string|null>>
3635 */
3736 protected static $ options = [];
3837
@@ -232,7 +231,7 @@ protected static function verifyInstanceOf(array $options, string $name): bool
232231 *
233232 * @param string $component Lowercase, plural component name
234233 *
235- * @phpstan- return array<string, string|null|bool >
234+ * @return array<string, bool| string|null>
236235 */
237236 public static function getOptions (string $ component ): array
238237 {
@@ -257,8 +256,7 @@ public static function getOptions(string $component): array
257256 *
258257 * @param string $component Lowercase, plural component name
259258 *
260- * @return array The result after applying defaults and normalization
261- * @phpstan-return array<string, string|null|bool>
259+ * @return array<string, bool|string|null> The result after applying defaults and normalization
262260 */
263261 public static function setOptions (string $ component , array $ values ): array
264262 {
0 commit comments