Skip to content

Commit

Permalink
Remove readonly from stubs for php 8.1 compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusjp committed Oct 27, 2023
1 parent 6cc8bc0 commit 2eece77
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Console/Commands/stubs/typed_config/default.stub
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare(strict_types=1);

namespace {{ namespace }};

final readonly class {{ class }} extends {{ parent }}
final class {{ class }} extends {{ parent }}
{
public function __construct(
{{ properties }}
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/stubs/typed_config/not_final.stub
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare(strict_types=1);

namespace {{ namespace }};

readonly class {{ class }} extends {{ parent }}
class {{ class }} extends {{ parent }}
{
public function __construct(
{{ properties }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace {{ namespace }};

readonly class {{ class }} extends {{ parent }}
class {{ class }} extends {{ parent }}
{
public function __construct(
{{ properties }}
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/stubs/typed_config/not_strict.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace {{ namespace }};

final readonly class {{ class }} extends {{ parent }}
final class {{ class }} extends {{ parent }}
{
public function __construct(
{{ properties }}
Expand Down

0 comments on commit 2eece77

Please sign in to comment.