Skip to content

Commit

Permalink
Fix tests I missed before
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Jul 20, 2020
1 parent 312fe2b commit 015fc63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/date/tests/ExtendDateTime.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ class MyDateTime extends DateTime {
}
?>
--EXPECTF--
Fatal error: Declaration of MyDateTime::__set_state() must be compatible with DateTime::__set_state(array $array) in %s on line %d
Fatal error: Method MyDateTime::__set_state() must take exactly 1 argument in %s on line %d
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class TestClass

public function __wakeup() {}

public static function __set_state() {}
public static function __set_state($a) {}

public function __autoload() {}
}
Expand Down

0 comments on commit 015fc63

Please sign in to comment.