summaryrefslogtreecommitdiff
path: root/ext/spl
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-12-29 16:55:19 +0100
committerGeorge Peter Banyard <girgias@php.net>2020-12-29 16:55:19 +0100
commit6c3b69bd7b68f7dd9c7bf9606edea27a0fe9f0cd (patch)
tree3eecc9aa9301d0826c425fcfa752723a3b4d0b79 /ext/spl
parentf29dcc168a747a51848c4ab0dc6c27a00bf8f3f8 (diff)
downloadphp-git-6c3b69bd7b68f7dd9c7bf9606edea27a0fe9f0cd.tar.gz
Remove superfluous return statement.
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));