Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Fixed trailing space in DateTime provider
Browse files Browse the repository at this point in the history
  • Loading branch information
tifabien committed Jul 7, 2016
1 parent a08f97c commit 7320fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Faker/Provider/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static function dateTimeInInterval($date = '-30 years', $interval = '+5 d
$datetime = $date instanceof \DateTime ? $date : new \DateTime($date);
$otherDatetime = clone $datetime;
$otherDatetime->add($intervalObject);

$begin = $datetime > $otherDatetime ? $otherDatetime : $datetime;
$end = $datetime===$begin ? $otherDatetime : $datetime;

Expand Down

0 comments on commit 7320fc7

Please sign in to comment.