Skip to content

Commit

Permalink
Default to null
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Sep 8, 2024
1 parent 89ff0f1 commit d4eff58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/testing/src/UnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected static function mockConfig(array $items = []): void
Config::swap(app('config'));
}

protected static function mockCurrentRouteKey(string $routeKey = ''): void
protected static function mockCurrentRouteKey(?string $routeKey = null): void
{
Render::shouldReceive('getRouteKey')->andReturn($routeKey);
}
Expand Down

0 comments on commit d4eff58

Please sign in to comment.