fix phpdoc spacing screwed up by phpstorm

This commit is contained in:
Dylan K. Taylor 2020-01-22 15:20:50 +00:00
parent 8efc4d12ec
commit 5955ff5393
3 changed files with 3 additions and 3 deletions

View File

@ -144,7 +144,7 @@ final class TileFactory{
} }
/** /**
*@internal * @internal
*/ */
public static function createFromData(World $world, CompoundTag $nbt) : ?Tile{ public static function createFromData(World $world, CompoundTag $nbt) : ?Tile{
$type = $nbt->getString(Tile::TAG_ID, "", true); $type = $nbt->getString(Tile::TAG_ID, "", true);

View File

@ -199,7 +199,7 @@ final class EntityFactory{
* Creates an entity from data stored on a chunk. * Creates an entity from data stored on a chunk.
* *
* @throws \RuntimeException * @throws \RuntimeException
*@internal * @internal
*/ */
public static function createFromData(World $world, CompoundTag $nbt) : ?Entity{ public static function createFromData(World $world, CompoundTag $nbt) : ?Entity{
$saveId = $nbt->getTag("id") ?? $nbt->getTag("identifier"); $saveId = $nbt->getTag("id") ?? $nbt->getTag("identifier");

View File

@ -596,7 +596,7 @@ class World implements ChunkManager{
/** /**
* Unregisters a chunk listener previously registered. * Unregisters a chunk listener previously registered.
* *
*@see World::registerChunkListener() * @see World::registerChunkListener()
*/ */
public function unregisterChunkListener(ChunkListener $listener, int $chunkX, int $chunkZ) : void{ public function unregisterChunkListener(ChunkListener $listener, int $chunkX, int $chunkZ) : void{
$hash = World::chunkHash($chunkX, $chunkZ); $hash = World::chunkHash($chunkX, $chunkZ);