mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
More nullable and void typehints
This commit is contained in:
@ -52,7 +52,7 @@ class Lava extends Liquid{
|
||||
return 2; //TODO: this is 1 in the nether
|
||||
}
|
||||
|
||||
protected function checkForHarden(){
|
||||
protected function checkForHarden() : void{
|
||||
$colliding = null;
|
||||
foreach(Facing::ALL as $side){
|
||||
if($side === Facing::DOWN){
|
||||
|
Reference in New Issue
Block a user