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:
parent
5a8b581adf
commit
98ed784af3
47 changed files with 57 additions and 49 deletions
|
@ -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));
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue