Skip to content

Commit a4df147

Browse files
committed
Move import
1 parent ccf883b commit a4df147

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/FcmMessage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace NotificationChannels\Fcm;
44

55
use Illuminate\Support\Traits\Macroable;
6+
use InvalidArgumentException;
67
use Kreait\Firebase\Contract\Messaging;
78
use Kreait\Firebase\Messaging\Message;
89
use NotificationChannels\Fcm\Resources\Notification;
@@ -81,7 +82,7 @@ public function condition(?string $condition): self
8182
public function data(?array $data): self
8283
{
8384
if (! empty(array_filter($data, fn ($value) => ! is_string($value)))) {
84-
throw new \InvalidArgumentException('Data values must be strings.');
85+
throw new InvalidArgumentException('Data values must be strings.');
8586
}
8687

8788
$this->data = $data;

0 commit comments

Comments
 (0)