Skip to content

Commit 9b89206

Browse files
Merge pull request #74 from spatie/analysis-zEVNOM
Apply fixes from StyleCI
2 parents b6e6f9c + 1173986 commit 9b89206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/macros.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@
429429
return new static();
430430
}
431431

432-
if(! $preserveKeys) {
432+
if (! $preserveKeys) {
433433
$sliced = new static([
434434
new static([$this->first()]),
435435
]);
@@ -447,7 +447,7 @@
447447

448448
$sliced = new static([$this->take(1)]);
449449

450-
return $this->eachCons(2, $preserveKeys)->reduce(function($sliced, $previousAndCurrent) use ($callback) {
450+
return $this->eachCons(2, $preserveKeys)->reduce(function ($sliced, $previousAndCurrent) use ($callback) {
451451
$previousItem = $previousAndCurrent->take(1);
452452
$item = $previousAndCurrent->take(-1);
453453

0 commit comments

Comments
 (0)