mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 03:42:32 +01:00
Fixed test helper method signature
This commit is contained in:
parent
4c580d1571
commit
e408067b10
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user