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 89fe44b commit 3138ed0Copy full SHA for 3138ed0
src/MatchesSnapshots.php
@@ -49,7 +49,7 @@ public function markTestIncompleteIfSnapshotsHaveChanged()
49
$this->markTestIncomplete($formattedMessages);
50
}
51
52
- public function assertMatchesSnapshot($actual, Driver $driver = null): void
+ public function assertMatchesSnapshot($actual, ?Driver $driver = null): void
53
{
54
if (! is_null($driver)) {
55
$this->doSnapshotAssertion($actual, $driver);
0 commit comments