diff --git a/phalcon/mvc/collection.zep b/phalcon/mvc/collection.zep index a6401551e2c..80768d0cdbd 100644 --- a/phalcon/mvc/collection.zep +++ b/phalcon/mvc/collection.zep @@ -1398,7 +1398,7 @@ abstract class Collection implements EntityInterface, CollectionInterface, Injec * echo "There are ", Robots::count(), " robots"; * */ - public static function count(array parameters = null) -> array + public static function count(array parameters = null) -> int { var className, collection, connection;