mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-22 07:40:58 +00:00
Fixed test helper method signature
This commit is contained in:
parent
4c580d1571
commit
e408067b10
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue