Skip to content

Commit

Permalink
Merge pull request #54 from mimmi20/updates
Browse files Browse the repository at this point in the history
update docBlock
  • Loading branch information
mimmi20 committed Dec 18, 2023
2 parents 2240ebf + 91a3935 commit d6a031e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,3 @@ parameters:

ignoreErrors:
- '~Parameter #1 \$options of method Mimmi20\\Mezzio\\Navigation\\Page\\PageFactoryInterface::factory\(\) expects array<string, array<string>\|bool\|string>, array<iterable<string>\|string> given~'
- '~is always true~'
4 changes: 2 additions & 2 deletions src/ConvertToPages.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public function __construct(
/**
* Converts a $mixed value to an array of pages
*
* @param AbstractContainer<AbstractPage>|AbstractPage|ContainerInterface|int|iterable<iterable<string>|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>|AbstractPage|ContainerInterface<PageInterface>|int|iterable<iterable<string>|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<int|string, AbstractPage|PageInterface>
*
Expand Down
4 changes: 2 additions & 2 deletions src/ConvertToPagesInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ interface ConvertToPagesInterface
/**
* Converts a $mixed value to an array of pages
*
* @param AbstractContainer<AbstractPage>|AbstractPage|ContainerInterface|int|iterable<iterable<string>|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>|AbstractPage|ContainerInterface<PageInterface>|int|iterable<iterable<string>|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<int|string, AbstractPage|PageInterface>
*
Expand Down

0 comments on commit d6a031e

Please sign in to comment.