Skip to content

Commit 168effd

Browse files
committed
Mark class constants for Generator and Builder as non-final
1 parent 677ee80 commit 168effd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Builder/BaseBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ abstract class BaseBuilder implements BuilderInterface
2525
/**
2626
* Default Twig file extension.
2727
*/
28-
final protected const TWIG_EXTENSION = '.php.twig';
28+
protected const TWIG_EXTENSION = '.php.twig';
2929

3030
protected Generator $generator;
3131

src/Builder/Generator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
class Generator
1717
{
18-
final protected const TEMP_DIR_PREFIX = 'TwigGenerator';
18+
protected const TEMP_DIR_PREFIX = 'TwigGenerator';
1919

2020
protected string $tempDir;
2121

0 commit comments

Comments
 (0)