Skip to content

Commit

Permalink
Mark attributes as final
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Dec 10, 2023
1 parent 4c1adc1 commit fb3ca3d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Attribute/AsTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
* Identifies a class that uses PHP attributes to define filters, functions, or tests.
*/
#[\Attribute(\Attribute::TARGET_CLASS)]
class AsTwigExtension
final class AsTwigExtension
{
}
2 changes: 1 addition & 1 deletion src/Attribute/AsTwigFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @see TwigFilter
*/
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class AsTwigFilter
final class AsTwigFilter
{
public function __construct(
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Attribute/AsTwigFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @see TwigFunction
*/
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class AsTwigFunction
final class AsTwigFunction
{
public function __construct(
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Attribute/AsTwigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @see TwigTest
*/
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class AsTwigTest
final class AsTwigTest
{
public function __construct(
/**
Expand Down

0 comments on commit fb3ca3d

Please sign in to comment.