You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #2344 [TwigComponent] Improve ComponentFactory performances (smnandre)
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
[TwigComponent] Improve ComponentFactory performances
ComponentFactory Quick Optimization
Minor change with.. mid impact
(on large number of renders)
Commits
-------
6486933ca [TwigComponent] Improve ComponentFactory performances
thrownew \LogicException(\sprintf('%s::mount() has a required $%s parameter. Make sure this is passed or make give a default value.', $component::class, $refParameter->getName()));
178
+
thrownew \LogicException(\sprintf('%s::mount() has a required $%s parameter. Make sure to pass it or give it a default value.', $component::class, $name));
$this->expectExceptionMessage('Symfony\UX\TwigComponent\Tests\Fixtures\Component\ComponentC::mount() has a required $propA parameter. Make sure this is passed or make give a default value.');
90
+
$this->expectExceptionMessage('Symfony\UX\TwigComponent\Tests\Fixtures\Component\ComponentC::mount() has a required $propA parameter. Make sure to pass it or give it a default value.');
0 commit comments