|
@@ -117,7 +117,7 @@ |
|
|
block discarded – undo |
|
117
|
117
|
public static function dateTime($milliseconds = null) |
|
118
|
118
|
{ |
|
119
|
119
|
if (!is_int($milliseconds) || !is_float($milliseconds) || !is_string($milliseconds) || !$milliseconds instanceof \DateTimeInterface) { |
|
120
|
|
- throw new \Exception($milliseconds . " integer or float or string or instance of DateTimeInterface"); |
|
|
120
|
+ throw new \Exception($milliseconds." integer or float or string or instance of DateTimeInterface"); |
|
121
|
121
|
|
|
122
|
122
|
} |
|
123
|
123
|
return new UTCDateTime($milliseconds); |
Please login to merge, or discard this patch.