Skip to content
This repository was archived by the owner on Feb 14, 2026. It is now read-only.

Commit a072d2f

Browse files
Refactor build method signature to remove optional param
1 parent 599727b commit a072d2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TestRenderers/BaseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public function __construct(
1414
public ?string $resourceClass = null,
1515
) {}
1616

17-
public static function build(string $resourceClass, ?string $view = null): static
17+
public static function build(string $resourceClass): static
1818
{
19-
return new static($resourceClass, $view);
19+
return new static($resourceClass);
2020
}
2121

2222
public function view(string $view): static

0 commit comments

Comments
 (0)