1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-06-27 16:36:00 +00:00

Fix some self deprecation notices

This commit is contained in:
Yassine Guedidi 2025-01-18 23:56:06 +01:00
parent 5a8b581adf
commit 98ed784af3
47 changed files with 57 additions and 49 deletions

View file

@ -11,7 +11,7 @@ use Wallabag\Entity\User;
class AnnotationFixtures extends Fixture implements DependentFixtureInterface
{
public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
$annotation1 = new Annotation($this->getReference('admin-user', User::class));
$annotation1->setEntry($this->getReference('entry1', Entry::class));

View file

@ -8,7 +8,7 @@ use Wallabag\Entity\User;
class UserFixtures extends Fixture
{
public function load(ObjectManager $manager)
public function load(ObjectManager $manager): void
{
$userAdmin = new User();
$userAdmin->setName('Big boss');