Skip to content

Commit b72ea1c

Browse files
committed
PHPStan: fix rule
Signed-off-by: Roman Ondráček <ondracek.roman@centrum.cz>
1 parent 6b29e1a commit b72ea1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ parameters:
2626
- '#Method App\\NetworkModule\\Models\\ConnectionManager::list\(\) should return array<App\\NetworkModule\\Entities\\Connection> but returns array<int, string>.#'
2727
- '#Method App\\NetworkModule\\Models\\InterfaceManager::list\(\) should return array<App\\NetworkModule\\Entities\\InterfaceStatus> but returns array<int, string>.#'
2828
-
29-
message: '#Parameter \#(1|2) \$(message|type) \(string\) of method App\\CoreModule\\Presenters\\(Protected|Sign)Presenter::flashMessage\(\) should be contravariant with parameter \$(message|type) \(mixed\) of method Nette\\Application\\UI\\Control::flashMessage\(\)#'
29+
message: '#Parameter \#(1|2) \$(message|type) \(string\) of method App\\(Core|Install)Module\\Presenters\\(Protected|Installation|Sign)Presenter::flashMessage\(\) should be contravariant with parameter \$(message|type) \(mixed\) of method Nette\\Application\\UI\\Control::flashMessage\(\)#'
3030
path: %currentWorkingDirectory%/app/CoreModule/Traits/TPresenterFlashMessage.php
3131
-
3232
message: '#Parameter \#1 \$credentials \(array<string>\) of method App\\CoreModule\\Models\\AppAuthenticator::authenticate\(\) should be contravariant with parameter \$credentials \(array\) of method Nette\\Security\\IAuthenticator::authenticate\(\)#'

0 commit comments

Comments
 (0)