Skip to content

Commit

Permalink
Don't declare entity classes final
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-meyer committed Oct 14, 2024
1 parent 396f8dc commit d1e752f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Entity/Format.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
#[ORM\Entity(repositoryClass: FormatRepository::class)]
#[ORM\Table(name: 'formats')]
final class Format extends Entity
class Format extends Entity
{
/**
* The unique metadata prefix.
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#[ORM\Index(name: 'format_idx', columns: ['format'])]
#[ORM\Index(name: 'last_changed_idx', columns: ['last_changed'])]
#[ORM\Index(name: 'format_last_changed_idx', columns: ['format', 'last_changed'])]
final class Record extends Entity
class Record extends Entity
{
/**
* The record identifier.
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Set.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
#[ORM\Entity(repositoryClass: SetRepository::class)]
#[ORM\Table(name: 'sets')]
final class Set extends Entity
class Set extends Entity
{
/**
* The unique set spec.
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#[ORM\Entity(repositoryClass: TokenRepository::class)]
#[ORM\Table(name: 'tokens')]
#[ORM\Index(name: 'valid_until_idx', columns: ['valid_until'])]
final class Token extends Entity
class Token extends Entity
{
/**
* The resumption token.
Expand Down

0 comments on commit d1e752f

Please sign in to comment.