diff options
author | Stefan Giehl <stefan@matomo.org> | 2019-06-10 12:50:29 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2019-06-10 12:50:29 +0300 |
commit | 7b6ba57d584dd985a661a47924a22ae29b092422 (patch) | |
tree | 8dbb9f2c04a7e67f0cf2331db42e460044983875 /plugins/CoreConsole | |
parent | 31bcfbe6a1028cc3ca2ce972d1488667b165d0c4 (diff) |
Fix incorrect param count for sprintf (#14506)
Diffstat (limited to 'plugins/CoreConsole')
-rw-r--r-- | plugins/CoreConsole/Commands/GenerateReport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreConsole/Commands/GenerateReport.php b/plugins/CoreConsole/Commands/GenerateReport.php index b30ec7d61e..af8111bc1c 100644 --- a/plugins/CoreConsole/Commands/GenerateReport.php +++ b/plugins/CoreConsole/Commands/GenerateReport.php @@ -69,7 +69,7 @@ class GenerateReport extends GeneratePluginBase $this->copyTemplateToPlugin($exampleFolder, $pluginName, $replace, $whitelistFiles); $this->writeSuccessMessage($output, array( - sprintf('plugins/%s/Reports/%s.php for %s generated.', $pluginName, ucfirst($apiName)), + sprintf('plugins/%s/Reports/%s.php for %s generated.', $pluginName, ucfirst($apiName), $pluginName), 'You should now implement the method called <comment>"' . lcfirst($apiName) . '()"</comment> in API.php', // 'Read more about this here: link to developer guide', 'Enjoy!' |