Skip to content

Commit 015fc63

Browse files
committed
Fix tests I missed before
1 parent 312fe2b commit 015fc63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/date/tests/ExtendDateTime.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ class MyDateTime extends DateTime {
99
}
1010
?>
1111
--EXPECTF--
12-
Fatal error: Declaration of MyDateTime::__set_state() must be compatible with DateTime::__set_state(array $array) in %s on line %d
12+
Fatal error: Method MyDateTime::__set_state() must take exactly 1 argument in %s on line %d

ext/reflection/tests/ReflectionMethod_getModifiers_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class TestClass
5252

5353
public function __wakeup() {}
5454

55-
public static function __set_state() {}
55+
public static function __set_state($a) {}
5656

5757
public function __autoload() {}
5858
}

0 commit comments

Comments
 (0)