Skip to content

Commit 231980c

Browse files
committed
Fix other tests
1 parent 0afa0ac commit 231980c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/tests/inheritance/bug70957.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ class B extends Foo
1919
}
2020
?>
2121
--EXPECTF--
22-
Fatal error: Declaration of T::bar() must be compatible with Foo::bar($a = 'Foo') in %s on line %d
22+
Fatal error: Declaration of B::bar() must be compatible with Foo::bar($a = 'Foo') in %s on line %d

Zend/tests/type_declarations/variance/trait_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ class U extends X {
1717

1818
?>
1919
--EXPECTF--
20-
Fatal error: Could not check compatibility between T::method($r): B and X::method($a): A, because class B is not available in %s on line %d
20+
Fatal error: Could not check compatibility between U::method($r): B and X::method($a): A, because class B is not available in %s on line %d

0 commit comments

Comments
 (0)