]> granicus.if.org Git - php/commitdiff
Fixed tests
authorJulien Pauli <jpauli@php.net>
Tue, 12 May 2015 09:18:35 +0000 (11:18 +0200)
committerJulien Pauli <jpauli@php.net>
Tue, 12 May 2015 09:18:35 +0000 (11:18 +0200)
Zend/tests/return_types/025.phpt

index 412b81e3c127eb69729abc7d71c73364fced29c5..148971250a7c8983e9bdc4e2921e808954e52ae6 100644 (file)
@@ -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) {
 }