mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Fix code-style (using PHPCSFixer and PHPCS).
This commit is contained in:
@@ -21,6 +21,7 @@ use Symfony\Component\Serializer\Exception;
|
||||
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface;
|
||||
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait;
|
||||
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
|
||||
|
||||
use function array_key_exists;
|
||||
|
||||
class MembersEditorNormalizer implements DenormalizerAwareInterface, DenormalizerInterface
|
||||
@@ -152,8 +153,10 @@ class MembersEditorNormalizer implements DenormalizerAwareInterface, Denormalize
|
||||
|
||||
private function performChecks($data): void
|
||||
{
|
||||
if (null === $data['concerned'] ?? null
|
||||
&& false === ·\is_array('concerned')) {
|
||||
if (
|
||||
null === $data['concerned'] ?? null
|
||||
&& false === ·\is_array('concerned')
|
||||
) {
|
||||
throw new Exception\UnexpectedValueException("The schema does not have any key 'concerned'");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user