File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 88use Doctrine \ORM \Mapping as ORM ;
99
1010#[ORM \Entity(repositoryClass: CredentialsRepository::class)]
11- class Credentials
11+ class Credentials implements \Stringable
1212{
1313 #[ORM \Column]
1414 #[ORM \GeneratedValue]
@@ -40,7 +40,7 @@ public function getId(): ?int
4040
4141 public function __toString (): string
4242 {
43- return $ this ->name ;
43+ return ( string ) $ this ->name ;
4444 }
4545
4646 public function getDescription (): ?string
Original file line number Diff line number Diff line change 77use Doctrine \ORM \Mapping as ORM ;
88
99#[ORM \Entity(repositoryClass: RegistryRepository::class)]
10- class Registry
10+ class Registry implements \Stringable
1111{
1212 #[ORM \Column]
1313 #[ORM \GeneratedValue]
@@ -37,7 +37,7 @@ class Registry
3737
3838 public function __toString (): string
3939 {
40- return $ this ->name ;
40+ return ( string ) $ this ->name ;
4141 }
4242
4343 public function getId (): ?int
Original file line number Diff line number Diff line change 1212
1313#[ORM \Entity(repositoryClass: VersionRepository::class)]
1414#[ORM \UniqueConstraint(name: 'pkg_ver_idx ' , columns: ['package_id ' , 'normalized_version ' ])]
15- class Version extends TrackedEntity
15+ class Version extends TrackedEntity implements \Stringable
1616{
1717 #[ORM \Id]
1818 #[ORM \Column]
You can’t perform that action at this time.
0 commit comments