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 0794c0d commit 6b5c570Copy full SHA for 6b5c570
src/Driver.php
@@ -36,7 +36,7 @@ public function load(string $path);
36
* `ExpectationFailedException` if it doesn't match. This happens by
37
* default if you're using PHPUnit's `Assert` class for the match.
38
*
39
- * @param \Spatie\Snapshots\Snapshot $snapshot
+ * @param \Spatie\Snapshots\Snapshot $expected
40
* @param mixed $actual
41
42
* @throws \PHPUnit\Framework\ExpectationFailedException
src/Drivers/VarDriver.php
@@ -17,7 +17,7 @@ public function extension(): string
17
return '.php';
18
}
19
20
- public function load(string $path)
+ public function load(string $path): string
21
{
22
return include $path;
23
0 commit comments