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 ccf883b commit a4df147Copy full SHA for a4df147
src/FcmMessage.php
@@ -3,6 +3,7 @@
3
namespace NotificationChannels\Fcm;
4
5
use Illuminate\Support\Traits\Macroable;
6
+use InvalidArgumentException;
7
use Kreait\Firebase\Contract\Messaging;
8
use Kreait\Firebase\Messaging\Message;
9
use NotificationChannels\Fcm\Resources\Notification;
@@ -81,7 +82,7 @@ public function condition(?string $condition): self
81
82
public function data(?array $data): self
83
{
84
if (! empty(array_filter($data, fn ($value) => ! is_string($value)))) {
- throw new \InvalidArgumentException('Data values must be strings.');
85
+ throw new InvalidArgumentException('Data values must be strings.');
86
}
87
88
$this->data = $data;
0 commit comments