diff --git a/composer.json b/composer.json index bf951e2..64db483 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "laminas/laminas-servicemanager": "^3.22.1", "mimmi20/coding-standard": "^5.2.2", "mimmi20/mezzio-generic-authorization": "^3.0.3", - "mimmi20/mezzio-navigation": "^3.0.0", + "mimmi20/mezzio-navigation": "^3.0.1", "phpstan/extension-installer": "^1.3.1", "phpstan/phpstan": "^1.10.50", "phpstan/phpstan-deprecation-rules": "^1.1.4", diff --git a/phpstan.neon b/phpstan.neon index b811668..0348a73 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -96,4 +96,3 @@ parameters: ignoreErrors: - '~Parameter #1 \$options of method Mimmi20\\Mezzio\\Navigation\\Page\\PageFactoryInterface::factory\(\) expects array\|bool\|string>, array\|string> given~' - - '~is always true~' diff --git a/src/ConvertToPages.php b/src/ConvertToPages.php index ee8f0dc..9cba416 100644 --- a/src/ConvertToPages.php +++ b/src/ConvertToPages.php @@ -42,7 +42,7 @@ public function __construct( /** * Converts a $mixed value to an array of pages * - * @param AbstractContainer|AbstractPage|ContainerInterface|int|iterable|string>|PageInterface|string $mixed mixed value to get page(s) from + * @param AbstractContainer|AbstractPage|ContainerInterface|int|iterable|string>|PageInterface|string $mixed mixed value to get page(s) from * @param bool $recursive whether $value should be looped if it is an array or a config * * @return array diff --git a/src/ConvertToPagesInterface.php b/src/ConvertToPagesInterface.php index ec93d1d..2b1f1ca 100644 --- a/src/ConvertToPagesInterface.php +++ b/src/ConvertToPagesInterface.php @@ -23,7 +23,7 @@ interface ConvertToPagesInterface /** * Converts a $mixed value to an array of pages * - * @param AbstractContainer|AbstractPage|ContainerInterface|int|iterable|string>|PageInterface|string $mixed mixed value to get page(s) from + * @param AbstractContainer|AbstractPage|ContainerInterface|int|iterable|string>|PageInterface|string $mixed mixed value to get page(s) from * @param bool $recursive whether $value should be looped if it is an array or a config * * @return array