mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
cs: Switch to a stricter way of coding - this might break in a lot of places.
This commit is contained in:
@@ -152,7 +152,7 @@ class MembersEditorNormalizer implements DenormalizerAwareInterface, Denormalize
|
||||
|
||||
private function performChecks($data): void
|
||||
{
|
||||
if (null == $data['concerned'] ?? null
|
||||
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