summaryrefslogtreecommitdiff
path: root/src/nullmember.h
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2014-02-18 13:43:03 +0100
committerMartijn Otto <martijn.otto@copernica.com>2014-02-18 13:43:03 +0100
commit9c2c6bbb77974344d3f1e344716391e4e5aa5345 (patch)
tree13eb531abc83916b679e81d0f0f8b84f4b6d599f /src/nullmember.h
parent1ae81bf877a40929c986c1b7961c2f70918fbb7e (diff)
Fixed a rather silly bug where a function no longer overrode a function from the parent class. Made this function explicitly override to prevent future problems
Diffstat (limited to 'src/nullmember.h')
-rw-r--r--src/nullmember.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nullmember.h b/src/nullmember.h
index 9b8584f..252704c 100644
--- a/src/nullmember.h
+++ b/src/nullmember.h
@@ -41,7 +41,7 @@ public:
* @param size Size of the name
* @param flags Additional flags
*/
- virtual void declare(struct _zend_class_entry *entry, const char *name, int size, int flags) override
+ virtual void declare(struct _zend_class_entry *entry, const char *name, int size, MemberModifier flags) override
{
#if PHP_VERSION_ID >= 50400
if (flags == constMember) zend_declare_class_constant_null(entry, name, size);