File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 44
55class Filesystem
66{
7- private string $ basePath ;
7+ /** @var string */
8+ private $ basePath ;
89
910 public function __construct (string $ basePath )
1011 {
Original file line number Diff line number Diff 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 ()
Original file line number Diff line number Diff line change 44
55class 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 ,
You can’t perform that action at this time.
0 commit comments