Skip to content

Commit bfc8377

Browse files
Fix DateTime namespace in return annotations
The DateTime class should be in the global namespace rather than relative to the current class
1 parent 930885e commit bfc8377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Gitonomy/Git/Commit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public function getAuthorEmail()
265265
/**
266266
* Returns the authoring date.
267267
*
268-
* @return DateTime A time object
268+
* @return \DateTime A time object
269269
*/
270270
public function getAuthorDate()
271271
{
@@ -295,7 +295,7 @@ public function getCommitterEmail()
295295
/**
296296
* Returns the authoring date.
297297
*
298-
* @return DateTime A time object
298+
* @return \DateTime A time object
299299
*/
300300
public function getCommitterDate()
301301
{

0 commit comments

Comments
 (0)