Added Inventory interfaces and types, updated long array() to []

This commit is contained in:
Shoghi Cervantes
2014-05-22 18:59:16 +02:00
parent 0be679c9d5
commit 6cbd39de9b
102 changed files with 637 additions and 334 deletions

View File

@ -46,7 +46,7 @@ class Explosion{
/**
* @var Block[]
*/
public $affectedBlocks = array();
public $affectedBlocks = [];
public $stepLen = 0.3;
private $what;
@ -95,7 +95,7 @@ class Explosion{
}
}
$send = array();
$send = [];
$source = $this->source->floor();
$radius = 2 * $this->size;
$yield = (1 / $this->size) * 100;