We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3235fdd commit 4a79269Copy full SHA for 4a79269
src/Setup.php
@@ -28,7 +28,7 @@ class Setup
28
/**
29
* @param Build|null $build
30
*/
31
- public function __construct(Build $build = null)
+ public function __construct(?Build $build = null)
32
{
33
$this->build = $build ?: new Build();
34
}
tests/Setup/EntryTest.php
@@ -134,7 +134,7 @@ private function builder(): Doubles\MockedBuild
134
return new Doubles\MockedBuild();
135
136
137
- private function entry(string $id, Doubles\MockedBuild $build = null): Entry
+ private function entry(string $id, ?Doubles\MockedBuild $build = null): Entry
138
139
return new Entry($id, $build ?? $this->builder());
140
0 commit comments