com php-src: Fixed tests: Zend/tests/return_types/025 .phpt

From: Date: Tue, 12 May 2015 09:18:35 +0000
Subject: com php-src: Fixed tests: Zend/tests/return_types/025 .phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86675@lists.php.net to get a copy of this message
Commit: 0b22cf04e34943695a8e570443292a9d42c7f517 Author: Julien Pauli <jpauli@php.net> Tue, 12 May 2015 11:18:35 +0200 Parents: ef8bb69a147c19780d9e35ecfda8394e5e6ca1d2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0b22cf04e34943695a8e570443292a9d42c7f517 Log: Fixed tests Changed paths: M Zend/tests/return_types/025.phpt Diff: diff --git a/Zend/tests/return_types/025.phpt b/Zend/tests/return_types/025.phpt index 412b81e..1489712 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) { }

« previous php.cvs (#86675) next »