php cs fixes

This commit is contained in:
Julie Lenaerts 2024-08-08 12:20:41 +02:00 committed by Julien Fastré
parent d119ba49f7
commit e85c31826f
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
3 changed files with 25 additions and 9 deletions

View File

@ -1,5 +1,14 @@
<?php
declare(strict_types=1);
/*
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\MainBundle\Entity\Workflow;
use Chill\MainBundle\Doctrine\Model\TrackCreationInterface;
@ -7,7 +16,6 @@ use Chill\MainBundle\Doctrine\Model\TrackCreationTrait;
use Chill\MainBundle\Entity\User;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table('chill_main_workflow_entity_step_hold')]
class EntityWorkflowStepHold implements TrackCreationInterface
@ -56,5 +64,4 @@ class EntityWorkflowStepHold implements TrackCreationInterface
{
$this->byUser = $byUser;
}
}

View File

@ -1,5 +1,14 @@
<?php
declare(strict_types=1);
/*
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\MainBundle\Repository\Workflow;
use Chill\MainBundle\Entity\User;
@ -19,9 +28,6 @@ class EntityWorkflowStepHoldRepository extends ServiceEntityRepository
/**
* Find an EntityWorkflowStepHold by its ID.
*
* @param int $id
* @return EntityWorkflowStepHold|null
*/
public function findById(int $id): ?EntityWorkflowStepHold
{
@ -41,7 +47,6 @@ class EntityWorkflowStepHoldRepository extends ServiceEntityRepository
/**
* Find EntityWorkflowStepHold by a specific step.
*
* @param EntityWorkflowStep $step
* @return EntityWorkflowStepHold[]
*/
public function findByStep(EntityWorkflowStep $step): array
@ -52,9 +57,6 @@ class EntityWorkflowStepHoldRepository extends ServiceEntityRepository
/**
* Find a single EntityWorkflowStepHold by step and user.
*
* @param EntityWorkflowStep $step
* @param User $user
* @return EntityWorkflowStepHold|null
* @throws NonUniqueResultException
*/
public function findOneByStepAndUser(EntityWorkflowStep $step, User $user): ?EntityWorkflowStepHold

View File

@ -2,6 +2,13 @@
declare(strict_types=1);
/*
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\Migrations\Main;
use Doctrine\DBAL\Schema\Schema;