Typehints on missed sound and particle APIs

This commit is contained in:
Dylan K. Taylor
2018-05-02 11:44:18 +01:00
parent b4068dfd2f
commit d80c471ae1
23 changed files with 38 additions and 35 deletions

View File

@ -27,7 +27,7 @@ use pocketmine\math\Vector3;
use pocketmine\network\mcpe\protocol\LevelEventPacket;
class AnvilFallSound extends GenericSound{
public function __construct(Vector3 $pos, $pitch = 0){
public function __construct(Vector3 $pos, float $pitch = 0){
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_ANVIL_FALL, $pitch);
}
}