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

Commit

Permalink
Merge pull request #956 from tifabien/master
Browse files Browse the repository at this point in the history
Minor: Fixed trailing space in DateTime provider
  • Loading branch information
fzaninotto committed Jul 11, 2016
2 parents dd11a96 + 7320fc7 commit dc2101d
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 dc2101d

Please sign in to comment.