Add EOF newlines where missing (bulk) (#1836)

This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
This commit is contained in:
Dylan K. Taylor
2017-12-20 11:56:36 +00:00
committed by GitHub
parent 0ee78d2416
commit 4f8e4f0522
600 changed files with 600 additions and 600 deletions

View File

@ -61,4 +61,4 @@ class AnvilInventory extends ContainerInventory{
$this->dropContents($this->holder->getLevel(), $this->holder->add(0.5, 0.5, 0.5));
}
}
}

View File

@ -28,4 +28,4 @@ class BigCraftingGrid extends CraftingGrid{
public function getGridWidth() : int{
return 3;
}
}
}

View File

@ -65,4 +65,4 @@ abstract class ContainerInventory extends BaseInventory{
* @return int
*/
abstract public function getNetworkType() : int;
}
}

View File

@ -54,4 +54,4 @@ class CraftingGrid extends BaseInventory{
public function sendContents($target) : void{
//no way to do this
}
}
}

View File

@ -60,4 +60,4 @@ interface CraftingRecipe extends Recipe{
* @return bool
*/
public function matchItems(array $input, array $output) : bool;
}
}

View File

@ -28,4 +28,4 @@ namespace pocketmine\inventory;
*/
abstract class CustomInventory extends ContainerInventory{
}
}

View File

@ -61,4 +61,4 @@ class EnchantInventory extends ContainerInventory{
$this->dropContents($this->holder->getLevel(), $this->holder->add(0.5, 0.5, 0.5));
}
}
}

View File

@ -66,4 +66,4 @@ class EnderChestInventory extends ChestInventory{
return $this->holder;
}
}
}

View File

@ -47,4 +47,4 @@ abstract class EntityInventory extends BaseInventory{
public function getHolder(){
return parent::getHolder();
}
}
}

View File

@ -37,4 +37,4 @@ class FakeBlockMenu extends Position implements InventoryHolder{
public function getInventory(){
return $this->inventory;
}
}
}

View File

@ -66,4 +66,4 @@ class FurnaceRecipe implements Recipe{
public function registerToCraftingManager(CraftingManager $manager) : void{
$manager->registerFurnaceRecipe($this);
}
}
}

View File

@ -31,4 +31,4 @@ interface InventoryHolder{
* @return Inventory
*/
public function getInventory();
}
}

View File

@ -41,4 +41,4 @@ class MultiRecipe{
$this->uuid = $uuid;
}
}
}

View File

@ -52,4 +52,4 @@ class PlayerCursorInventory extends BaseInventory{
public function getHolder(){
return $this->holder;
}
}
}

View File

@ -33,4 +33,4 @@ interface Recipe{
public function getResult() : Item;
public function registerToCraftingManager(CraftingManager $manager) : void;
}
}

View File

@ -190,4 +190,4 @@ class ShapelessRecipe implements CraftingRecipe{
return count($haveItems) === 0 and count($needItems) === 0;
}
}
}

View File

@ -205,4 +205,4 @@ class CraftingTransaction extends InventoryTransaction{
return false;
}
}
}

View File

@ -291,4 +291,4 @@ class InventoryTransaction{
public function hasExecuted() : bool{
return $this->hasExecuted;
}
}
}

View File

@ -56,4 +56,4 @@ class CraftingTakeResultAction extends InventoryAction{
}
}
}

View File

@ -70,4 +70,4 @@ class CraftingTransferMaterialAction extends InventoryAction{
public function onExecuteFail(Player $source) : void{
}
}
}

View File

@ -82,4 +82,4 @@ class CreativeInventoryAction extends InventoryAction{
}
}
}

View File

@ -68,4 +68,4 @@ class DropItemAction extends InventoryAction{
public function onExecuteFail(Player $source) : void{
}
}
}

View File

@ -121,4 +121,4 @@ abstract class InventoryAction{
*/
abstract public function onExecuteFail(Player $source) : void;
}
}

View File

@ -121,4 +121,4 @@ class SlotChangeAction extends InventoryAction{
public function onExecuteFail(Player $source) : void{
$this->inventory->sendSlot($this->inventorySlot, $source);
}
}
}