Skip to content

Commit 50956ba

Browse files
committed
fix(zend): update expected error message in tests
Signed-off-by: azjezz <azjezz@protonmail.com>
1 parent 6f353c7 commit 50956ba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Zend/tests/generics/errors/type_param_in_static_method.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ class A<T> {
77
}
88
?>
99
--EXPECTF--
10-
Fatal error: Non-static type parameter T cannot be referenced from a static context in %s on line %d
10+
Fatal error: Type parameter T is bound to A and cannot be used in static context in %s on line %d

Zend/tests/generics/errors/type_param_in_static_property.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ class A<T> {
77
}
88
?>
99
--EXPECTF--
10-
Fatal error: Non-static type parameter T cannot be referenced from a static context in %s on line %d
10+
Fatal error: Type parameter T is bound to A and cannot be used in static context in %s on line %d

0 commit comments

Comments
 (0)