Skip to content

Commit fbd8d15

Browse files
Arkalo2Kocal
andauthored
Update src/LiveComponent/src/Test/TestLiveComponent.php
Co-authored-by: Hugo Alliaume <[email protected]>
1 parent 15fd9b9 commit fbd8d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/src/Test/TestLiveComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,6 @@ public function getEmittedEvents(RenderedComponent $render): array
258258
return [];
259259
}
260260

261-
return json_decode($emit, true);
261+
return json_decode($emit, associative: true, flags: \JSON_THROW_ON_ERROR);
262262
}
263263
}

0 commit comments

Comments
 (0)