Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
firebase-3438031
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
firebase-3438031
Commits
b66ee837
Commit
b66ee837
authored
3 years ago
by
DartDev
Committed by
Thalles Ferreira
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3117435
by DartDev: MAX_DEVICES check fires prematurely
parent
d0d1f0a2
No related branches found
Branches containing commit
Tags
3.0.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Service/FirebaseMessageService.php
+1
-1
1 addition, 1 deletion
src/Service/FirebaseMessageService.php
with
1 addition
and
1 deletion
src/Service/FirebaseMessageService.php
+
1
−
1
View file @
b66ee837
...
...
@@ -141,7 +141,7 @@ class FirebaseMessageService extends FirebaseServiceBase {
*/
public
function
setRecipients
(
$recipients
)
{
if
(
is_array
(
$recipients
))
{
if
(
count
(
$recipients
)
<
self
::
MAX_DEVICES
)
{
if
(
count
(
$recipients
)
<
=
self
::
MAX_DEVICES
)
{
$this
->
body
[
'registration_ids'
]
=
$recipients
;
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment