Fixed test helper method signature

This commit is contained in:
Dan Brown 2020-12-30 22:25:10 +00:00
parent 4c580d1571
commit e408067b10
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -71,7 +71,7 @@ abstract class BrowserKitTest extends TestCase
/**
* Create a group of entities that belong to a specific user.
*/
protected function createEntityChainBelongingToUser(User $creatorUser, ?User $updaterUser): array
protected function createEntityChainBelongingToUser(User $creatorUser, ?User $updaterUser = null): array
{
if (empty($updaterUser)) {
$updaterUser = $creatorUser;