summaryrefslogtreecommitdiff
path: root/zend/classimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'zend/classimpl.h')
-rw-r--r--zend/classimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/classimpl.h b/zend/classimpl.h
index bd385be..5d0ab60 100644
--- a/zend/classimpl.h
+++ b/zend/classimpl.h
@@ -414,7 +414,7 @@ public:
* @param flags Optional flags (like public or protected)
* @param args Description of the supported arguments
*/
- void method(const char *name, int flags=0, const Arguments &args = {}) { _methods.push_back(std::make_shared<Method>(name, (flags & (MethodModifiers | Static | Abstract)) , args)); }
+ void method(const char *name, int flags=0, const Arguments &args = {}) { _methods.push_back(std::make_shared<Method>(name, (flags & (MethodModifiers | Static)) | Abstract , args)); }
/**
* Add a property to the class