PhpStorm automated formatting (#11)

* PhpStorm reformatting

* Tuned PhpStorm reformatting

* Improved ItemIds and BlockIds formatting

* Tuned more PhpStorm reformatting

* Improved string concatenation
This commit is contained in:
SOFe
2016-10-03 19:05:48 +08:00
committed by GitHub
parent 2b6d058760
commit 58ff381557
77 changed files with 266 additions and 264 deletions

View File

@ -47,10 +47,10 @@ class EnchantTable extends Spawnable implements Nameable{
public function getSpawnCompound(){
$c = new CompoundTag("", [
new StringTag("id", Tile::ENCHANT_TABLE),
new IntTag("x", (int) $this->x),
new IntTag("y", (int) $this->y),
new IntTag("z", (int) $this->z)
new StringTag("id", Tile::ENCHANT_TABLE),
new IntTag("x", (int) $this->x),
new IntTag("y", (int) $this->y),
new IntTag("z", (int) $this->z)
]);
if($this->hasName()){

View File

@ -67,10 +67,10 @@ abstract class Tile extends Position{
public $tickTimer;
/**
* @param string $type
* @param FullChunk $chunk
* @param CompoundTag $nbt
* @param $args
* @param string $type
* @param FullChunk $chunk
* @param CompoundTag $nbt
* @param $args
*
* @return Tile
*/