mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -36,7 +36,6 @@ use Symfony\Component\Routing\Annotation\Route;
|
||||
use Symfony\Component\Security\Core\Security;
|
||||
use Symfony\Component\Validator\Constraints\NotIdenticalTo;
|
||||
use Symfony\Component\Validator\Constraints\NotNull;
|
||||
use function is_int;
|
||||
|
||||
class ReassignAccompanyingPeriodController extends AbstractController
|
||||
{
|
||||
@@ -142,7 +141,7 @@ class ReassignAccompanyingPeriodController extends AbstractController
|
||||
return $builder->getForm();
|
||||
}
|
||||
|
||||
private function buildReassignForm(array $periodIds, ?User $userFrom = null): FormInterface
|
||||
private function buildReassignForm(array $periodIds, User $userFrom = null): FormInterface
|
||||
{
|
||||
$defaultData = [
|
||||
'userFrom' => $userFrom,
|
||||
@@ -181,7 +180,7 @@ class ReassignAccompanyingPeriodController extends AbstractController
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!is_int((int) $id)) {
|
||||
if (!\is_int((int) $id)) {
|
||||
throw new TransformationFailedException('the user id is not a numeric');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user