diff --git a/src/Resources/LazyCollection.php b/src/Resources/LazyCollection.php index d4c8eac8..3625aecf 100644 --- a/src/Resources/LazyCollection.php +++ b/src/Resources/LazyCollection.php @@ -79,7 +79,7 @@ public function first(callable $callback = null) $iterator = $this->getIterator(); if (is_null($callback)) { - if (!$iterator->valid()) { + if (! $iterator->valid()) { return null; } @@ -124,7 +124,7 @@ public function take(int $limit): self $iterator = $this->getIterator(); while ($limit--) { - if (!$iterator->valid()) { + if (! $iterator->valid()) { break; } @@ -148,7 +148,7 @@ public function every(callable $callback): bool $iterator = $this->getIterator(); foreach ($iterator as $key => $value) { - if (!$callback($value, $key)) { + if (! $callback($value, $key)) { return false; } }