Skip to content

Commit

Permalink
Update code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 20, 2019
1 parent 3fe2705 commit 83a8a2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/drupol/collection/CollectionSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,9 @@ public function it_can_scale(): void

$this
->scale(0, 10, 5, 15, 3)
->walk(static function ($value) {return (float) round($value, 2);})
->walk(static function ($value) {
return (float) round($value, 2);
})
// @todo: For some reason, using shouldIterateAs does not work here.
->all()
->shouldReturn([5.0, 8.01, 11.02, 12.78, 14.03, 15.0]);
Expand Down

0 comments on commit 83a8a2e

Please sign in to comment.