mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Merge pull request #2259 from gabsource/fix-plugin-base-exception
Fix missing sprintf in exception message (wrong signature)
This commit is contained in:
commit
1253e8272d
@ -49,7 +49,7 @@ class PluginBase extends ServiceProviderBase
|
||||
'method in the plugin class.', $thisClass));
|
||||
|
||||
if (!array_key_exists('plugin', $configuration)) {
|
||||
throw new SystemException('The plugin configuration file plugin.yaml should contain the "plugin" section: %s.', $thisClass);
|
||||
throw new SystemException(sprintf('The plugin configuration file plugin.yaml should contain the "plugin" section: %s.', $thisClass));
|
||||
}
|
||||
|
||||
return $configuration['plugin'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user