Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mfn authored and github-actions[bot] committed Feb 2, 2024
1 parent 89fe44b commit 3138ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MatchesSnapshots.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function markTestIncompleteIfSnapshotsHaveChanged()
$this->markTestIncomplete($formattedMessages);
}

public function assertMatchesSnapshot($actual, Driver $driver = null): void
public function assertMatchesSnapshot($actual, ?Driver $driver = null): void
{
if (! is_null($driver)) {
$this->doSnapshotAssertion($actual, $driver);
Expand Down

0 comments on commit 3138ed0

Please sign in to comment.