Skip to content

Commit a0221d9

Browse files
committed
minor #855 [TwigComponent] Remove unused variable in ComponentFactory (mttsch)
This PR was merged into the 2.x branch. Discussion ---------- [TwigComponent] Remove unused variable in ComponentFactory | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | - | License | MIT Commits ------- 5ee696b [TwigComponent] Remove unused variable in ComponentFactory
2 parents 8119f8f + 5ee696b commit a0221d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigComponent/src/ComponentFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private function mount(object $component, array &$data): void
115115
{
116116
try {
117117
$method = (new \ReflectionClass($component))->getMethod('mount');
118-
} catch (\ReflectionException $e) {
118+
} catch (\ReflectionException) {
119119
// no hydrate method
120120
return;
121121
}

0 commit comments

Comments
 (0)