Skip to content

Commit

Permalink
Merge pull request #13064 from sergeyklay/3.2.x
Browse files Browse the repository at this point in the history
Fixed Collection::count return type hint
  • Loading branch information
ninjapanzer authored Sep 10, 2017
2 parents 1a29788 + bba27ac commit c65c6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/mvc/collection.zep
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ abstract class Collection implements EntityInterface, CollectionInterface, Injec
* echo "There are ", Robots::count(), " robots";
*</code>
*/
public static function count(array parameters = null) -> array
public static function count(array parameters = null) -> int
{
var className, collection, connection;

Expand Down

0 comments on commit c65c6e2

Please sign in to comment.