diff --git a/src/pocketmine/plugin/PharPluginLoader.php b/src/pocketmine/plugin/PharPluginLoader.php index 030e98829..c5cbf77db 100644 --- a/src/pocketmine/plugin/PharPluginLoader.php +++ b/src/pocketmine/plugin/PharPluginLoader.php @@ -95,7 +95,7 @@ class PharPluginLoader implements PluginLoader{ /** * Returns the filename patterns that this loader accepts * - * @return array + * @return string */ public function getPluginFilters(){ return "/\\.phar$/i"; diff --git a/src/pocketmine/plugin/PluginLoader.php b/src/pocketmine/plugin/PluginLoader.php index 4cdeab66b..720786ac5 100644 --- a/src/pocketmine/plugin/PluginLoader.php +++ b/src/pocketmine/plugin/PluginLoader.php @@ -45,9 +45,9 @@ interface PluginLoader{ public function getPluginDescription($file); /** - * Returns the filename patterns that this loader accepts + * Returns the filename regex patterns that this loader accepts * - * @return string[] + * @return string */ public function getPluginFilters(); diff --git a/src/pocketmine/plugin/ScriptPluginLoader.php b/src/pocketmine/plugin/ScriptPluginLoader.php index cb499a08e..15e9267cc 100644 --- a/src/pocketmine/plugin/ScriptPluginLoader.php +++ b/src/pocketmine/plugin/ScriptPluginLoader.php @@ -118,7 +118,7 @@ class ScriptPluginLoader implements PluginLoader{ /** * Returns the filename patterns that this loader accepts * - * @return array + * @return string */ public function getPluginFilters(){ return "/\\.php$/i";