Modernize to PHP 8.0

This commit is contained in:
Yassine Guedidi
2025-04-05 13:56:56 +02:00
parent 1d5674a230
commit a107773c11
31 changed files with 97 additions and 199 deletions

View File

@ -19,7 +19,7 @@ use Wallabag\Repository\TagRepository;
#[ORM\Table(name: '`tag`')]
#[ORM\Index(columns: ['label'])]
#[ORM\Entity(repositoryClass: TagRepository::class)]
class Tag
class Tag implements \Stringable
{
/**
* @var int
@ -54,7 +54,7 @@ class Tag
$this->entries = new ArrayCollection();
}
public function __toString()
public function __toString(): string
{
return $this->label;
}