mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 16:24:05 +00:00
Fixed wrong docs for Plugin->getPluginFilters()
This commit is contained in:
parent
8f9c52507a
commit
27f2aec160
@ -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";
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user