Skip to content

Commit

Permalink
update docBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 committed Dec 18, 2023
1 parent 2240ebf commit 99fbbc9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 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~'
2 changes: 1 addition & 1 deletion src/ConvertToPages.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ 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 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

Check failure on line 46 in src/ConvertToPages.php

View workflow job for this annotation

GitHub Actions / Project Analysis / Check Coding Standards with PHPCS (ubuntu-22.04, 8.1)

Expected 134 spaces after parameter type; 119 found
*
* @return array<int|string, AbstractPage|PageInterface>
Expand Down
2 changes: 1 addition & 1 deletion src/ConvertToPagesInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ 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 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

Check failure on line 27 in src/ConvertToPagesInterface.php

View workflow job for this annotation

GitHub Actions / Project Analysis / Check Coding Standards with PHPCS (ubuntu-22.04, 8.1)

Expected 134 spaces after parameter type; 119 found
*
* @return array<int|string, AbstractPage|PageInterface>
Expand Down

0 comments on commit 99fbbc9

Please sign in to comment.