Skip to content

Commit f8f41c6

Browse files
committed
wip
1 parent 4415520 commit f8f41c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MatchesSnapshots.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ protected function doSnapshotAssertion($actual, Driver $driver)
186186
}
187187
}
188188

189-
protected function doFileSnapshotAssertion(string $filePath)
189+
protected function doFileSnapshotAssertion(string $filePath): void
190190
{
191191
if (! file_exists($filePath)) {
192192
$this->fail('File does not exist');
@@ -221,7 +221,7 @@ protected function doFileSnapshotAssertion(string $filePath)
221221

222222
$expectedExtension = pathinfo($existingSnapshotId, PATHINFO_EXTENSION);
223223

224-
return $this->fail("File did not match the snapshot file extension (expected: {$expectedExtension}, was: {$fileExtension})");
224+
$this->fail("File did not match the snapshot file extension (expected: {$expectedExtension}, was: {$fileExtension})");
225225
}
226226

227227
$failedSnapshotId = $snapshotId.'_failed.'.$fileExtension;

0 commit comments

Comments
 (0)