apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -15,7 +15,6 @@ use Chill\MainBundle\Entity\GroupCenter;
use Chill\MainBundle\Entity\PermissionsGroup;
use Chill\MainBundle\Entity\RoleScope;
use Chill\MainBundle\Entity\User;
use LogicException;
/**
* A trait to prepare user with permission. May be used
@@ -47,9 +46,9 @@ trait PrepareUserTrait
*
* @param array $permissions an array of permissions, with key 'center' for the center and key 'attrs' for an array of ['role' => (string), 'scope' => (int)]
*
* @throws LogicException if the trait is not set up
*
* @return User
*
* @throws \LogicException if the trait is not set up
*/
protected function prepareUser(array $permissions)
{