From: Dan Brown Date: Wed, 30 Dec 2020 22:25:10 +0000 (+0000) Subject: Fixed test helper method signature X-Git-Tag: v0.31.0~3^2~13^2~8 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/e408067b10c97362088806b00d06e968049fd5e4 Fixed test helper method signature --- diff --git a/tests/BrowserKitTest.php b/tests/BrowserKitTest.php index a6c461c44..6c332a984 100644 --- a/tests/BrowserKitTest.php +++ b/tests/BrowserKitTest.php @@ -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;