summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/014.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/014.phpt')
-rw-r--r--Zend/tests/return_types/014.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/014.phpt b/Zend/tests/return_types/014.phpt
index abf8b1210b..468979d5d9 100644
--- a/Zend/tests/return_types/014.phpt
+++ b/Zend/tests/return_types/014.phpt
@@ -1,12 +1,10 @@
--TEST--
Constructors cannot declare a return type
-
--FILE--
<?php
class Foo {
function __construct() : Foo {}
}
-
--EXPECTF--
Fatal error: Constructor %s::%s() cannot declare a return type in %s on line %s