php cs fixer

This commit is contained in:
2024-11-26 18:04:36 +01:00
parent 5afb92d549
commit 3e355a6465
21 changed files with 39 additions and 39 deletions

View File

@@ -64,7 +64,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
private bool $enabled = true;
/**
* @var Collection<int, \Chill\MainBundle\Entity\GroupCenter>
* @var Collection<int, GroupCenter>
*/
#[ORM\ManyToMany(targetEntity: GroupCenter::class, inversedBy: 'users')]
#[ORM\Cache(usage: 'NONSTRICT_READ_WRITE')]
@@ -83,7 +83,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
private ?Location $mainLocation = null;
/**
* @var \Doctrine\Common\Collections\Collection<int, \Chill\MainBundle\Entity\User\UserScopeHistory>&Selectable
* @var Collection<int, UserScopeHistory>&Selectable
*/
#[ORM\OneToMany(mappedBy: 'user', targetEntity: UserScopeHistory::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
private Collection&Selectable $scopeHistories;
@@ -98,7 +98,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
private ?string $salt = null;
/**
* @var \Doctrine\Common\Collections\Collection<int, \Chill\MainBundle\Entity\User\UserJobHistory>&Selectable
* @var Collection<int, UserJobHistory>&Selectable
*/
#[ORM\OneToMany(mappedBy: 'user', targetEntity: UserJobHistory::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
private Collection&Selectable $jobHistories;

View File

@@ -36,7 +36,7 @@ class EntityWorkflow implements TrackCreationInterface, TrackUpdateInterface
use TrackUpdateTrait;
/**
* @var Collection<int, \Chill\MainBundle\Entity\Workflow\EntityWorkflowComment>
* @var Collection<int, EntityWorkflowComment>
*/
#[ORM\OneToMany(mappedBy: 'entityWorkflow', targetEntity: EntityWorkflowComment::class, orphanRemoval: true)]
private Collection $comments;

View File

@@ -107,7 +107,7 @@ class EntityWorkflowStep
private ?string $transitionByEmail = null;
/**
* @var \Doctrine\Common\Collections\Collection<int, \Chill\MainBundle\Entity\Workflow\EntityWorkflowStepHold>
* @var Collection<int, EntityWorkflowStepHold>
*/
#[ORM\OneToMany(mappedBy: 'step', targetEntity: EntityWorkflowStepHold::class)]
private Collection $holdsOnStep;

View File

@@ -261,7 +261,7 @@ final readonly class UserRepository implements UserRepositoryInterface
* allows to make a first search amongst users based on role and center
* and, then filter those users having some flags.
*
* @param \Chill\MainBundle\Entity\User[] $amongstUsers
* @param User[] $amongstUsers
*/
public function findUsersHavingFlags($flag, array $amongstUsers = []): array
{

View File

@@ -71,7 +71,7 @@ interface UserRepositoryInterface extends ObjectRepository
* allows to make a first search amongst users based on role and center
* and, then filter those users having some flags.
*
* @param \Chill\MainBundle\Entity\User[] $amongstUsers
* @param User[] $amongstUsers
*/
public function findUsersHavingFlags(mixed $flag, array $amongstUsers = []): array;
}

View File

@@ -14,7 +14,7 @@ namespace Chill\MainBundle\Security\Resolver;
final readonly class CenterResolverDispatcher implements CenterResolverDispatcherInterface
{
/**
* @param \Chill\MainBundle\Security\Resolver\CenterResolverInterface[] $resolvers
* @param CenterResolverInterface[] $resolvers
*/
public function __construct(private iterable $resolvers = []) {}

View File

@@ -16,7 +16,7 @@ use Chill\MainBundle\Entity\Center;
final readonly class CenterResolverManager implements CenterResolverManagerInterface
{
/**
* @param \Chill\MainBundle\Security\Resolver\CenterResolverInterface[] $resolvers
* @param CenterResolverInterface[] $resolvers
*/
public function __construct(private iterable $resolvers = [])
{

View File

@@ -17,7 +17,7 @@ use Doctrine\Common\Collections\Collection;
final readonly class ScopeResolverDispatcher
{
/**
* @param \Chill\MainBundle\Security\Resolver\ScopeResolverInterface[] $resolvers
* @param ScopeResolverInterface[] $resolvers
*/
public function __construct(private iterable $resolvers) {}

View File

@@ -30,7 +30,7 @@ use Symfony\Component\Workflow\Registry;
class EntityWorkflowManager
{
/**
* @param \Chill\MainBundle\Workflow\EntityWorkflowHandlerInterface[] $handlers
* @param EntityWorkflowHandlerInterface[] $handlers
*/
public function __construct(private readonly iterable $handlers, private readonly Registry $registry) {}