summaryrefslogtreecommitdiff
path: root/ext/spl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl')
-rw-r--r--ext/spl/spl_observer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/spl/spl_observer.c b/ext/spl/spl_observer.c
index 0c4dbe84a8..ae5ea8d6fb 100644
--- a/ext/spl/spl_observer.c
+++ b/ext/spl/spl_observer.c
@@ -508,7 +508,6 @@ PHP_METHOD(SplObjectStorage, count)
if (mode == COUNT_RECURSIVE) {
RETURN_LONG(php_count_recursive(&intern->storage));
- return;
}
RETURN_LONG(zend_hash_num_elements(&intern->storage));