File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 5
5
use PHPStan \ShouldNotHappenException ;
6
6
use function array_key_exists ;
7
7
use function array_keys ;
8
- use function count ;
9
8
use function sha1_file ;
10
9
11
10
final class FileMonitor
@@ -75,7 +74,6 @@ public function getChanges(): FileMonitorResult
75
74
$ newFiles ,
76
75
$ changedFiles ,
77
76
$ deletedFiles ,
78
- count ($ fileHashes ),
79
77
);
80
78
}
81
79
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ public function __construct(
16
16
private array $ newFiles ,
17
17
private array $ changedFiles ,
18
18
private array $ deletedFiles ,
19
- private int $ totalFilesCount ,
20
19
)
21
20
{
22
21
}
@@ -36,9 +35,4 @@ public function hasAnyChanges(): bool
36
35
|| count ($ this ->deletedFiles ) > 0 ;
37
36
}
38
37
39
- public function getTotalFilesCount (): int
40
- {
41
- return $ this ->totalFilesCount ;
42
- }
43
-
44
38
}
You can’t perform that action at this time.
0 commit comments