MDL-59562 core: updated type hint of new function

This commit is contained in:
Peter Burnett
2020-01-16 13:05:30 +10:00
parent 4fac690ace
commit 72aac06304
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -927,9 +927,9 @@ class core_plugin_manager {
*
* @param \core\plugininfo\base $plugin the plugin we are checking
* @param int $branch the moodle branch to check support for
* @return bool
* @return string
*/
public function check_explicitly_supported($plugin, $branch) : bool {
public function check_explicitly_supported($plugin, $branch) : string {
// Check for correctly formed supported.
if (isset($plugin->pluginsupported)) {
// Broken apart for readability.