diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 0367726786d..4ef314369c7 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"); } } /* }}} */