Skip to content

Commit 8defd7a

Browse files
author
matheo
committed
make class finals
1 parent 708ff5d commit 8defd7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/TwigComponent/src/AnonymousComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @internal
2020
*/
21-
class AnonymousComponent
21+
final class AnonymousComponent
2222
{
2323
private array $props;
2424

src/TwigComponent/src/ComponentTemplateFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @author Matheo Daninos <[email protected]>
1818
*/
19-
class ComponentTemplateFinder implements ComponentTemplateFinderInterface
19+
final class ComponentTemplateFinder implements ComponentTemplateFinderInterface
2020
{
2121
public function __construct(
2222
private Environment $environment

0 commit comments

Comments
 (0)