mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04: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.
|
* 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)) {
|
if (empty($updaterUser)) {
|
||||||
$updaterUser = $creatorUser;
|
$updaterUser = $creatorUser;
|
||||||
|
Loading…
Reference in New Issue
Block a user