Skip to content

Commit

Permalink
Add #[\AllowDynamicProperties] on Statement and Expression classes fo…
Browse files Browse the repository at this point in the history
…r PHP 8.2 support

Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jul 22, 2022
1 parent 7d341ba commit 4ee76d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Components/Expression.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*
* @final
*/
#[\AllowDynamicProperties]
class Expression extends Component
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*
* Abstract statement definition.
*/
#[\AllowDynamicProperties]
abstract class Statement implements Stringable
{
/**
Expand Down

0 comments on commit 4ee76d9

Please sign in to comment.