Skip to content

Commit 641bdff

Browse files
committed
phpcs
1 parent e3d8936 commit 641bdff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LiveComponent/src/LiveComponentHydrator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function dehydrate(object $component, ComponentAttributes $attributes, Li
108108
$dehydratedProps->addPropValue($frontendName, $dehydratedValue);
109109

110110
foreach ($propMetadata->writablePaths() as $path) {
111-
if (is_array($rawPropertyValue) || is_object($rawPropertyValue)) {
111+
if (\is_array($rawPropertyValue) || \is_object($rawPropertyValue)) {
112112
try {
113113
$pathValue = $this->propertyAccessor->getValue(
114114
$rawPropertyValue,

src/LiveComponent/tests/Integration/LiveComponentHydratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ public function provideDehydrationHydrationTests(): iterable
580580
'show' => 'Arrested development',
581581
'character' => 'Michael Bluth',
582582
],
583-
'options.character' => 'Michael Bluth'
583+
'options.character' => 'Michael Bluth',
584584
])
585585
->userChangesOriginalPropsTo(['options' => [
586586
'show' => 'Simpsons',

0 commit comments

Comments
 (0)