Skip to content

Commit 2737475

Browse files
committed
Add missing final declaration for fixture classes
1 parent dd9f310 commit 2737475

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Unit/Fixture/PersonalDataWithStringableSubjectId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Patchlevel\Hydrator\Attribute\DataSubjectId;
88
use Patchlevel\Hydrator\Attribute\PersonalData;
99

10-
class PersonalDataWithStringableSubjectId
10+
final class PersonalDataWithStringableSubjectId
1111
{
1212
public function __construct(
1313
#[DataSubjectId]

tests/Unit/Fixture/StringableSubjectId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use Stringable;
88

9-
class StringableSubjectId implements Stringable
9+
final class StringableSubjectId implements Stringable
1010
{
1111
public function __construct(private string $id)
1212
{

0 commit comments

Comments
 (0)