We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a76cfb commit ce3f66dCopy full SHA for ce3f66d
src/FcmMessage.php
@@ -80,7 +80,7 @@ public function condition(?string $condition): self
80
*/
81
public function data(?array $data): self
82
{
83
- if (! empty(array_filter($data, fn($value) => ! is_string($value)))) {
+ if (! empty(array_filter($data, fn ($value) => ! is_string($value)))) {
84
throw new \InvalidArgumentException('Data values must be strings.');
85
}
86
0 commit comments