summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorJulien Pauli <jpauli@php.net>2015-05-12 11:18:35 +0200
committerJulien Pauli <jpauli@php.net>2015-05-12 11:18:35 +0200
commit0b22cf04e34943695a8e570443292a9d42c7f517 (patch)
tree574c87c8f6d27934ba59573daf9ea8757df482f3 /Zend
parentef8bb69a147c19780d9e35ecfda8394e5e6ca1d2 (diff)
downloadphp-git-0b22cf04e34943695a8e570443292a9d42c7f517.tar.gz
Fixed tests
Diffstat (limited to 'Zend')
-rw-r--r--Zend/tests/return_types/025.phpt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/tests/return_types/025.phpt b/Zend/tests/return_types/025.phpt
index 412b81e3c1..148971250a 100644
--- a/Zend/tests/return_types/025.phpt
+++ b/Zend/tests/return_types/025.phpt
@@ -5,8 +5,9 @@ Return type of self is allowed in closure
<?php
$c = function(): self { return $this; };
-var_dump($c->call(new stdClass));
+class Bar { }
+var_dump($c->call(new Bar));
--EXPECT--
-object(stdClass)#2 (0) {
+object(Bar)#2 (0) {
}