mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
Pass class as second parameter to getReference() fixture method
This commit is contained in:
@@ -63,6 +63,6 @@ class LoadInvite extends Fixture implements FixtureGroupInterface
|
||||
{
|
||||
$userRef = array_rand(LoadUsers::$refs);
|
||||
|
||||
return $this->getReference($userRef, null);
|
||||
return $this->getReference($userRef, User::class);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user