Skip to content

Commit 2756060

Browse files
committedSep 19, 2024
ci: fix phpstan errors
1 parent 3f0a088 commit 2756060

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed
 

‎Facade/Flasher.php

+10-15
Original file line numberDiff line numberDiff line change
@@ -13,37 +13,32 @@
1313
* @method static NotificationBuilder title(string $message)
1414
* @method static NotificationBuilder message(string $message)
1515
* @method static NotificationBuilder type(string $message)
16-
* @method static NotificationBuilder options(array $options, bool $merge = true)
16+
* @method static NotificationBuilder options(array<string, mixed> $options, bool $merge = true)
1717
* @method static NotificationBuilder option(string $name, $value)
1818
* @method static NotificationBuilder priority(int $priority)
1919
* @method static NotificationBuilder hops(int $amount)
2020
* @method static NotificationBuilder keep()
2121
* @method static NotificationBuilder delay(int $delay)
22-
* @method static NotificationBuilder translate(array $parameters = [], ?string $locale = null)
22+
* @method static NotificationBuilder translate(array<string, mixed> $parameters = [], ?string $locale = null)
2323
* @method static NotificationBuilder handler(string $handler)
24-
* @method static NotificationBuilder context(array $context)
24+
* @method static NotificationBuilder context(array<string, mixed> $context)
2525
* @method static NotificationBuilder when(bool|\Closure $condition)
2626
* @method static NotificationBuilder unless(bool|\Closure $condition)
2727
* @method static NotificationBuilder with(StampInterface[] $stamps = array())
2828
* @method static NotificationBuilder withStamp(StampInterface $stamp)
29-
* @method static Envelope success(string $message, array $options = [], ?string $title = null)
30-
* @method static Envelope error(string $message, array $options = [], ?string $title = null)
31-
* @method static Envelope info(string $message, array $options = [], ?string $title = null)
32-
* @method static Envelope warning(string $message, array $options = [], ?string $title = null)
33-
* @method static Envelope flash(?string $type = null, ?string $message = null, array $options = [], ?string $title = null)
34-
* @method static Envelope preset(string $preset, array $parameters = [])
29+
* @method static Envelope success(string $message, array<string, mixed> $options = [], ?string $title = null)
30+
* @method static Envelope error(string $message, array<string, mixed> $options = [], ?string $title = null)
31+
* @method static Envelope info(string $message, array<string, mixed> $options = [], ?string $title = null)
32+
* @method static Envelope warning(string $message, array<string, mixed> $options = [], ?string $title = null)
33+
* @method static Envelope flash(?string $type = null, ?string $message = null, array<string, mixed> $options = [], ?string $title = null)
34+
* @method static Envelope preset(string $preset, array<string, mixed> $parameters = [])
3535
* @method static Envelope operation(string $operation, string|object|null $resource = null)
3636
* @method static Envelope created(string|object|null $resource = null)
3737
* @method static Envelope updated(string|object|null $resource = null)
3838
* @method static Envelope saved(string|object|null $resource = null)
3939
* @method static Envelope deleted(string|object|null $resource = null)
4040
* @method static Envelope push()
41-
* @method static Envelope addSuccess(string $message, array $options = [], ?string $title = null)
42-
* @method static Envelope addError(string $message, array $options = [], ?string $title = null)
43-
* @method static Envelope addInfo(string $message, array $options = [], ?string $title = null)
44-
* @method static Envelope addWarning(string $message, array $options = [], ?string $title = null)
45-
* @method static Envelope addFlash(?string $type = null, ?string $message = null, array $options = [], ?string $title = null)
46-
* @method static Envelope addPreset(string $preset, array $parameters = [])
41+
* @method static Envelope addPreset(string $preset, array<string, mixed> $parameters = [])
4742
* @method static Envelope addCreated(string|object|null $resource = null)
4843
* @method static Envelope addUpdated(string|object|null $resource = null)
4944
* @method static Envelope addDeleted(string|object|null $resource = null)

0 commit comments

Comments
 (0)
Failed to load comments.