Skip to content

Commit

Permalink
Merge pull request #11 from nucleos/clean
Browse files Browse the repository at this point in the history
Fix phpstan finding for phpdoc
  • Loading branch information
core23 committed Feb 1, 2020
2 parents 25fcde5 + 84af21c commit 7b1faf9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,3 @@ parameters:
count: 3
path: src/DependencyInjection/Configuration.php

-
message: "#^Return type \\(array\\<string\\>\\) of method Nucleos\\\\ProfileBundle\\\\EventListener\\\\AlreadyLoggedinListener\\:\\:getSubscribedEvents\\(\\) should be covariant with return type \\(array\\<string, array\\<int\\|string, array\\<int\\|string, int\\|string\\>\\|int\\|string\\>\\|string\\>\\) of method Symfony\\\\Component\\\\EventDispatcher\\\\EventSubscriberInterface\\:\\:getSubscribedEvents\\(\\)$#"
count: 1
path: src/EventListener/AlreadyLoggedinListener.php

3 changes: 0 additions & 3 deletions src/EventListener/AlreadyLoggedinListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ public function __construct(Security $security, RouterInterface $router)
$this->router = $router;
}

/**
* @return string[]
*/
public static function getSubscribedEvents(): array
{
return [
Expand Down

0 comments on commit 7b1faf9

Please sign in to comment.