From 502588e23e4f07a776ab1f6cd379b0ec640531c7 Mon Sep 17 00:00:00 2001 From: Mark Walet Date: Tue, 7 Jan 2025 14:15:28 +0100 Subject: [PATCH] Add typehint to repository --- app/Repositories/GitPathsRepository.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Repositories/GitPathsRepository.php b/app/Repositories/GitPathsRepository.php index d1763b41..bf4c655b 100644 --- a/app/Repositories/GitPathsRepository.php +++ b/app/Repositories/GitPathsRepository.php @@ -59,6 +59,7 @@ public function diff($branch) 'untracked' => tap(new Process(['git', 'ls-files', '--others', '--exclude-standard', '--', '**.php']))->run(), ]; + /** @var Collection $files */ $files = collect($files) ->each(fn ($process) => abort_if( boolean: ! $process->isSuccessful(),