Strict type all the things and fix lots of assorted bugs exposed by strict types (#993)

Strict type all the things
This commit is contained in:
Dylan K. Taylor
2017-06-08 11:21:51 +01:00
committed by GitHub
863 changed files with 2033 additions and 308 deletions

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;
use pocketmine\inventory\ChestInventory;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;
use pocketmine\item\Item;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;
use pocketmine\nbt\tag\CompoundTag;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;
use pocketmine\item\Item;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;
use pocketmine\item\Item;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;
use pocketmine\event\block\SignChangeEvent;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;
use pocketmine\level\Level;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\tile;
use pocketmine\level\Level;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
/**
* All the Tile classes and related classes
*/