mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Fixed the doc comment in Plugin::getResources()
It returns SplFileInfo[] not string[]
This commit is contained in:
parent
bd9b59f401
commit
c7ac5dfd4b
@ -98,7 +98,7 @@ interface Plugin extends CommandExecutor{
|
||||
/**
|
||||
* Returns all the resources packaged with the plugin
|
||||
*
|
||||
* @return string[]
|
||||
* @return \SplFileInfo[]
|
||||
*/
|
||||
public function getResources() : array;
|
||||
|
||||
|
@ -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 = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user