File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ class CheckRateLimiter
11
11
public function handle (NotificationSending $ event ): bool
12
12
{
13
13
if ($ event ->notification instanceof ThrottlesChannels) {
14
+ // @phpstan-ignore-next-line
14
15
$ channels = $ event ->notification ->via ($ event ->notifiable );
15
16
$ throttleConfig = $ event ->notification ->throttleChannels ($ event ->notifiable , $ channels );
16
17
$ channelConfig = $ throttleConfig [$ event ->channel ];
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ class HitRateLimiter
11
11
public function handle (NotificationSent $ event )
12
12
{
13
13
if ($ event ->notification instanceof ThrottlesChannels) {
14
+ // @phpstan-ignore-next-line
14
15
$ channels = $ event ->notification ->via ($ event ->notifiable );
15
16
$ throttleConfig = $ event ->notification ->throttleChannels ($ event ->notifiable , $ channels );
16
17
$ channelConfig = $ throttleConfig [$ event ->channel ];
You can’t perform that action at this time.
0 commit comments