Skip to content

Commit 90ee911

Browse files
committedOct 19, 2024
chore: validate and autocomplete flasher configuration
1 parent ab04924 commit 90ee911

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎Resources/config.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
declare(strict_types=1);
44

5-
return [
5+
use Flasher\Prime\Configuration;
6+
7+
return Configuration::from([
68
// Default notification library (e.g., 'flasher', 'toastr', 'noty', 'notyf', 'sweetalert')
79
'default' => 'flasher',
810

@@ -50,4 +52,4 @@
5052
// 'message' => 'Entity saved successfully',
5153
// ],
5254
// ],
53-
];
55+
]);

0 commit comments

Comments
 (0)
Failed to load comments.