Skip to content

Commit 97f2c0c

Browse files
committed
Fixed indention
1 parent 64e9205 commit 97f2c0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Map.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4498,13 +4498,13 @@ public function slice( int $offset, ?int $length = null ) : self
44984498
public function sliding( int $size = 2, int $step = 1 ) : self
44994499
{
45004500
$result = [];
4501-
$chunks = floor( ( $this->count() - $size ) / $step ) + 1;
4501+
$chunks = floor( ( $this->count() - $size ) / $step ) + 1;
45024502

45034503
for( $i = 0; $i < $chunks; $i++ ) {
45044504
$result[] = array_slice( $this->list(), $i * $step, $size, true );
45054505
}
45064506

4507-
return new static( $result );
4507+
return new static( $result );
45084508
}
45094509

45104510

0 commit comments

Comments
 (0)