Skip to content

Commit

Permalink
PHPUnit update
Browse files Browse the repository at this point in the history
  • Loading branch information
nozavroni committed Nov 15, 2016
1 parent 0abc15b commit 46457aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CSVelte/Collection/NumericCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ public function min()
* values and values are the number of times that value occurs in
* the original collection.
*
* @return Collection
* @return NumericCollection
*/
public function counts()
{
return static::factory(array_count_values($this->toArray()));
return new self(array_count_values($this->toArray()));
}

}

0 comments on commit 46457aa

Please sign in to comment.