From bfc8377b1f288db3853ee36b4d895f821ee4e0a3 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 14 Sep 2018 13:25:57 +0200 Subject: [PATCH] Fix DateTime namespace in return annotations The DateTime class should be in the global namespace rather than relative to the current class --- src/Gitonomy/Git/Commit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gitonomy/Git/Commit.php b/src/Gitonomy/Git/Commit.php index 8ef3a01..298ebc7 100644 --- a/src/Gitonomy/Git/Commit.php +++ b/src/Gitonomy/Git/Commit.php @@ -265,7 +265,7 @@ public function getAuthorEmail() /** * Returns the authoring date. * - * @return DateTime A time object + * @return \DateTime A time object */ public function getAuthorDate() { @@ -295,7 +295,7 @@ public function getCommitterEmail() /** * Returns the authoring date. * - * @return DateTime A time object + * @return \DateTime A time object */ public function getCommitterDate() {