Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3fe45ed

Browse files
committed
[fix] Issue #3 implemented
* Fixed broken build on 7.1
1 parent 43eb816 commit 3fe45ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Config/APNsConfig.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function getPayload() {
8484
private function roundUpMilliseconds() {
8585
$converted = new DateTime('now');
8686

87-
if ($converted->format('u') != 0) {
87+
if ($converted->format('u') != 0 && strpos(PHP_VERSION,'7.1') !== 0) {
8888
$converted = $converted->add(new DateInterval('PT1S'));
8989
}
9090

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /