Fixed the doc comment in Plugin::getResources()

It returns SplFileInfo[] not string[]
This commit is contained in:
SOFe 2018-05-21 17:22:46 +08:00
parent bd9b59f401
commit c7ac5dfd4b
No known key found for this signature in database
GPG Key ID: A0379676C4D9D5D9
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ interface Plugin extends CommandExecutor{
/**
* Returns all the resources packaged with the plugin
*
* @return string[]
* @return \SplFileInfo[]
*/
public function getResources() : array;

View File

@ -223,7 +223,7 @@ abstract class PluginBase implements Plugin{
/**
* Returns all the resources packaged with the plugin
*
* @return string[]
* @return \SplFileInfo[]
*/
public function getResources() : array{
$resources = [];