Skip to content

Commit

Permalink
Fixed PHP7.4 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
POPSuL committed Mar 12, 2020
1 parent fb3cbf7 commit df3eab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PHP_GCM/Sender.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ private function updateStatus($unsentRegIds, &$allResults, MulticastResult $mult
if(count($results) != count($unsentRegIds)) {
// should never happen, unless there is a flaw in the algorithm
throw new \RuntimeException('Internal error: sizes do not match. currentResults: ' . $results .
'; unsentRegIds: ' + $unsentRegIds);
'; unsentRegIds: ' . $unsentRegIds);
}

$newUnsentRegIds = array();
Expand All @@ -345,4 +345,4 @@ private function updateStatus($unsentRegIds, &$allResults, MulticastResult $mult

return $newUnsentRegIds;
}
}
}

0 comments on commit df3eab3

Please sign in to comment.