Skip to content

Commit f3ea8c1

Browse files
committed
readability
1 parent 14b2f20 commit f3ea8c1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Stache/Stores/Store.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,10 @@ public function handleFileChanges()
209209
// Get all the deleted files.
210210
// This would be any paths that exist in the cached array that aren't there anymore.
211211
$keys = $this->paths()->flip();
212-
$deleted = $existing->keys()->map(fn ($path) => $keys->get($path))->diff($files->keys()->map(fn ($path) => $keys->get($path)))->values();
212+
$deleted = $existing->keys()
213+
->map(fn ($path) => $keys->get($path))
214+
->diff($files->keys()->map(fn ($path) => $keys->get($path)))
215+
->values();
213216

214217
// If there are no modified or deleted files, there's nothing to update.
215218
if ($modified->isEmpty() && $deleted->isEmpty()) {

0 commit comments

Comments
 (0)