From 46457aa7ef4f0d035041a7cd32a2f16334de8403 Mon Sep 17 00:00:00 2001 From: Luke Visinoni Date: Tue, 15 Nov 2016 00:09:38 -0800 Subject: [PATCH] PHPUnit update --- src/CSVelte/Collection/NumericCollection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CSVelte/Collection/NumericCollection.php b/src/CSVelte/Collection/NumericCollection.php index 2a8e024..b3ec3f4 100644 --- a/src/CSVelte/Collection/NumericCollection.php +++ b/src/CSVelte/Collection/NumericCollection.php @@ -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())); } } \ No newline at end of file