ci: add phpstan

This commit is contained in:
Maël Gangloff
2024-08-03 00:06:38 +02:00
parent b460e8aaa6
commit b7899cc8a5
11 changed files with 99 additions and 14 deletions

View File

@@ -111,9 +111,6 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
return array_unique($roles);
}
/**
* @return User
*/
public function setRoles(array $roles): static
{
$this->roles = $roles;