Skip to content

Commit 2576cdf

Browse files
committed
use typehint
1 parent 5577c9d commit 2576cdf

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/Snapshot.php

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

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

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

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

1613
public function __construct(
1714
string $id,

0 commit comments

Comments
 (0)