update php-cs-fixer and rector + fix rules

This commit is contained in:
2024-01-09 13:50:45 +01:00
parent a63b40fb6c
commit 825cd127d1
79 changed files with 220 additions and 229 deletions

View File

@@ -73,8 +73,8 @@ class PermissionsGroup
*/
public function __construct()
{
$this->roleScopes = new \Doctrine\Common\Collections\ArrayCollection();
$this->groupCenters = new \Doctrine\Common\Collections\ArrayCollection();
$this->roleScopes = new ArrayCollection();
$this->groupCenters = new ArrayCollection();
}
public function addRoleScope(RoleScope $roleScope)

View File

@@ -189,7 +189,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
}
/**
* @return \Chill\MainBundle\Entity\User
* @return User
*/
public function addGroupCenter(GroupCenter $groupCenter)
{