Fix missing sprintf in exception message (wrong signature)

This commit is contained in:
Jérémy Gaulin 2016-07-30 10:14:21 +02:00
parent b1a86b5f9f
commit 2be29e6d48
1 changed files with 1 additions and 1 deletions

View File

@ -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'];