Skip to content

Commit

Permalink
refactor: Update CS.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 6, 2020
1 parent be7a0c1 commit 9852751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spec/loophp/collection/CollectionSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ public function it_can_head(): void
->shouldIterateAs([0 => 'A']);
}

public function it_can_if_then_else()
public function it_can_if_then_else(): void
{
$input = range(1, 5);

Expand Down
1 change: 1 addition & 0 deletions src/Operation/Distinct.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ static function ($value) use (&$seen): bool {
/** @psalm-var Closure(Iterator<TKey, T>): Generator<TKey, T> $filter */
$filter = Filter::of()($filterCallback);

// Point free style.
return $filter;
}
}

0 comments on commit 9852751

Please sign in to comment.