From a7f93081cd384056288bc9aa5af72e425e311008 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Wed, 1 Feb 2017 15:16:47 +0100 Subject: [PATCH] typo --- tests/Utils/DateTime.createFromFormat.phpt | 6 +++--- tests/Utils/DateTime.from.phpt | 2 +- tests/Utils/DateTime.modifyClone.phpt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Utils/DateTime.createFromFormat.phpt b/tests/Utils/DateTime.createFromFormat.phpt index 2ae02822f..557d42621 100644 --- a/tests/Utils/DateTime.createFromFormat.phpt +++ b/tests/Utils/DateTime.createFromFormat.phpt @@ -1,7 +1,7 @@ format('Y-m-d H:i:s.u')); diff --git a/tests/Utils/DateTime.from.phpt b/tests/Utils/DateTime.from.phpt index ff8f31b19..4dbf1ff83 100644 --- a/tests/Utils/DateTime.from.phpt +++ b/tests/Utils/DateTime.from.phpt @@ -24,6 +24,6 @@ Assert::same(is_int(2544000000) ? 2544000000 : '2544000000', DateTime::from(2544 Assert::same('1978-05-05 00:00:00', (string) DateTime::from('1978-05-05')); -Assert::type('DateTime', DateTime::from(new DateTime('1978-05-05'))); +Assert::type(DateTime::class, DateTime::from(new \DateTime('1978-05-05'))); Assert::same('1978-05-05 12:00:00.123450', DateTime::from(new DateTime('1978-05-05 12:00:00.12345'))->format('Y-m-d H:i:s.u')); diff --git a/tests/Utils/DateTime.modifyClone.phpt b/tests/Utils/DateTime.modifyClone.phpt index b3c3f7d07..7bdd14d80 100644 --- a/tests/Utils/DateTime.modifyClone.phpt +++ b/tests/Utils/DateTime.modifyClone.phpt @@ -1,7 +1,7 @@