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

@ -61,12 +61,14 @@ class EntityDamageByEntityEvent extends EntityDamageEvent{
public function getDamager(){
return $this->damager;
}
/**
* @return float
*/
public function getKnockBack(){
return $this->knockBack;
}
/**
* @param float $knockBack
*/

View File

@ -40,8 +40,8 @@ class CraftItemEvent extends Event implements Cancellable{
/**
* @param \pocketmine\Player $player
* @param Item[] $input
* @param Recipe $recipe
* @param Item[] $input
* @param Recipe $recipe
*/
public function __construct(Player $player, array $input, Recipe $recipe){
$this->player = $player;

View File

@ -47,8 +47,8 @@ class PlayerCreationEvent extends Event{
/**
* @param SourceInterface $interface
* @param Player::class $baseClass
* @param Player::class $playerClass
* @param Player::class $baseClass
* @param Player::class $playerClass
* @param mixed $clientId
* @param string $address
* @param int $port

View File

@ -20,6 +20,7 @@
*/
namespace pocketmine\event\server;
use pocketmine\utils\Utils;