From 2f6b9b970c9529c4fa32cd306b69704f55681354 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sun, 31 Mar 2013 20:07:14 +0800 Subject: [PATCH] Fix typo (it's in DateTime::__wakeup) --- ext/date/php_date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 0367726786..4ef314369c 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2842,7 +2842,7 @@ PHP_METHOD(DateTime, __wakeup) myht = Z_OBJPROP_P(object); if (!php_date_initialize_from_hash(&return_value, &dateobj, myht TSRMLS_CC)) { - php_error(E_ERROR, "Invalid serialization data for DateTimeInterface object"); + php_error(E_ERROR, "Invalid serialization data for DateTime object"); } } /* }}} */ -- 2.40.0