diff --git a/phpstan.neon b/phpstan.neon index 95777f0..b811668 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -95,5 +95,5 @@ parameters: tooWideThrowType: true ignoreErrors: - - '~Parameter #1 \$options of method Mimmi20\\Mezzio\\Navigation\\Page\\PageFactoryInterface::factory\(\) expects array\|bool\|string>, array\|string> given~' + - '~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 75bd233..ee8f0dc 100644 --- a/src/ConvertToPages.php +++ b/src/ConvertToPages.php @@ -42,8 +42,8 @@ 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 bool $recursive whether $value should be looped if it is an array or a config + * @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 60839e6..ec93d1d 100644 --- a/src/ConvertToPagesInterface.php +++ b/src/ConvertToPagesInterface.php @@ -23,8 +23,8 @@ 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 bool $recursive whether $value should be looped if it is an array or a config + * @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 *