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 55use PHPStan \ShouldNotHappenException ;
66use function array_key_exists ;
77use function array_keys ;
8- use function count ;
98use function sha1_file ;
109
1110final class FileMonitor
@@ -75,7 +74,6 @@ public function getChanges(): FileMonitorResult
7574 $ newFiles ,
7675 $ changedFiles ,
7776 $ deletedFiles ,
78- count ($ fileHashes ),
7977 );
8078 }
8179
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ public function __construct(
1616 private array $ newFiles ,
1717 private array $ changedFiles ,
1818 private array $ deletedFiles ,
19- private int $ totalFilesCount ,
2019 )
2120 {
2221 }
@@ -36,9 +35,4 @@ public function hasAnyChanges(): bool
3635 || count ($ this ->deletedFiles ) > 0 ;
3736 }
3837
39- public function getTotalFilesCount (): int
40- {
41- return $ this ->totalFilesCount ;
42- }
43-
4438}
You can’t perform that action at this time.
0 commit comments