Skip to content

NOW MANAGED ON CODEBERG

Fixed test helper method signature

Dan Browne408067b10c9
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;