Skip to content

Commit 79bde3b

Browse files
committed
wip
1 parent a57bca1 commit 79bde3b

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

src/Filesystem.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
class Filesystem
66
{
7-
private string $basePath;
7+
/** @var string */
8+
private $basePath;
89

910
public function __construct(string $basePath)
1011
{

src/MatchesSnapshots.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ trait MatchesSnapshots
1818
use SnapshotDirectoryAware;
1919
use SnapshotIdAware;
2020

21-
protected int $snapshotIncrementor = 0;
21+
/** @var int */
22+
protected $snapshotIncrementor = 0;
2223

23-
protected array $snapshotChanges = [];
24+
/** @var array */
25+
protected $snapshotChanges = [];
2426

2527
/** @before */
2628
public function setUpSnapshotIncrementor()

src/Snapshot.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44

55
class Snapshot
66
{
7-
private string $id;
7+
/** @var string */
8+
private $id;
89

9-
private Filesystem $filesystem;
10+
/** @var \Spatie\Snapshots\Filesystem */
11+
private $filesystem;
1012

11-
private Driver $driver;
13+
/** @var \Spatie\Snapshots\Driver */
14+
private $driver;
1215

1316
public function __construct(
1417
string $id,

0 commit comments

Comments
 (0)