Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Nov 11, 2024
1 parent f3c5bb7 commit a25e440
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/TwigComponent/src/ComponentFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ public function mountFromObject(object $component, array $data, ComponentMetadat
$attributes = $data[$attributesVar] ?? [];
unset($data[$attributesVar]);

// ensure remaining data is scalar
foreach ($data as $key => $value) {
if ($value instanceof \Stringable) {
$data[$key] = (string) $value;
Expand Down

0 comments on commit a25e440

Please sign in to comment.