Skip to content

Commit c4350e3

Browse files
committed
[Live] Fixing logic problem - missing () set
1 parent 45cf182 commit c4350e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/LiveComponent/src/Normalizer/DoctrineObjectNormalizer.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ public function denormalize(mixed $data, string $type, string $format = null, ar
9696

9797
public function supportsDenormalization(mixed $data, string $type, string $format = null, array $context = [])
9898
{
99-
if (\is_scalar($data) || (\is_array($data) && isset($data[0])) && null !== $this->objectManagerFor($type)) {
99+
if (
100+
(\is_scalar($data) || (\is_array($data) && isset($data[0])))
101+
&& null !== $this->objectManagerFor($type)
102+
) {
100103
return true;
101104
}
102105

0 commit comments

Comments
 (0)