summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/025.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/025.phpt')
-rw-r--r--Zend/tests/return_types/025.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/025.phpt b/Zend/tests/return_types/025.phpt
index 148971250a..c9f0ffef4a 100644
--- a/Zend/tests/return_types/025.phpt
+++ b/Zend/tests/return_types/025.phpt
@@ -1,13 +1,11 @@
--TEST--
Return type of self is allowed in closure
-
--FILE--
<?php
$c = function(): self { return $this; };
class Bar { }
var_dump($c->call(new Bar));
-
--EXPECT--
object(Bar)#2 (0) {
}