mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
Makes notification library default optional
Makes the 'default' option for the notification library optional. This allows the system to function without a default library being explicitly set, providing more flexibility in configurations.
This commit is contained in:
@@ -45,7 +45,6 @@ final readonly class Configuration implements ConfigurationInterface
|
||||
->children()
|
||||
->scalarNode('default')
|
||||
->info('Default notification library (e.g., "flasher", "toastr", "noty", "notyf", "sweetalert")')
|
||||
->isRequired()
|
||||
->cannotBeEmpty()
|
||||
->defaultValue($this->plugin->getDefault())
|
||||
->end()
|
||||
|
||||
Reference in New Issue
Block a user