Skip to content

Commit 3b56fe0

Browse files
committed
docs: remove @phpstan-*
1 parent d8de7c9 commit 3b56fe0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

system/Config/Factories.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)