Fixed wrong docs for Plugin->getPluginFilters()

This commit is contained in:
Dylan K. Taylor 2017-02-12 12:52:02 +00:00
parent 8f9c52507a
commit 27f2aec160
3 changed files with 4 additions and 4 deletions

View File

@ -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";

View File

@ -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();

View File

@ -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";