diff options
Diffstat (limited to 'include/countable.h')
-rw-r--r-- | include/countable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/countable.h b/include/countable.h index 1b99463..d4c1823 100644 --- a/include/countable.h +++ b/include/countable.h @@ -7,7 +7,7 @@ * class MyClass : public Php::Base, public Php::Countable { ... } * * You will have to implement the count() method, which should return the - * number of elements in the class + * number of elements in the object * * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com> * @copyright 2014 Copernica BV @@ -26,9 +26,9 @@ class Countable public: /** * Retrieve the number of items in the class - * @return Value + * @return long */ - virtual Value count() = 0; + virtual long count() = 0; }; |