mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Mass removal of useless @param/@return PHPDoc annotations, pass 1
This commit is contained in:
@ -42,15 +42,11 @@ interface ChunkLoader{
|
||||
/**
|
||||
* Returns the ChunkLoader id.
|
||||
* Call Level::generateChunkLoaderId($this) to generate and save it
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getLoaderId() : int;
|
||||
|
||||
/**
|
||||
* Returns if the chunk loader is currently active
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isLoaderActive() : bool;
|
||||
|
||||
@ -77,8 +73,6 @@ interface ChunkLoader{
|
||||
/**
|
||||
* This method will be called when a Chunk is replaced by a new one
|
||||
*
|
||||
* @param Chunk $chunk
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function onChunkChanged(Chunk $chunk);
|
||||
@ -86,18 +80,13 @@ interface ChunkLoader{
|
||||
/**
|
||||
* This method will be called when a registered chunk is loaded
|
||||
*
|
||||
* @param Chunk $chunk
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function onChunkLoaded(Chunk $chunk);
|
||||
|
||||
|
||||
/**
|
||||
* This method will be called when a registered chunk is unloaded
|
||||
*
|
||||
* @param Chunk $chunk
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function onChunkUnloaded(Chunk $chunk);
|
||||
@ -106,8 +95,6 @@ interface ChunkLoader{
|
||||
* This method will be called when a registered chunk is populated
|
||||
* Usually it'll be sent with another call to onChunkChanged()
|
||||
*
|
||||
* @param Chunk $chunk
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function onChunkPopulated(Chunk $chunk);
|
||||
|
Reference in New Issue
Block a user