mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
RuntimeDataDescriber: remove useless template parameter
This commit is contained in:
parent
58ce746ae1
commit
8dc28b7ea8
@ -29,11 +29,6 @@ namespace pocketmine\data\runtime;
|
|||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
trait LegacyRuntimeEnumDescriberTrait{
|
trait LegacyRuntimeEnumDescriberTrait{
|
||||||
|
|
||||||
/**
|
|
||||||
* @phpstan-template T of \UnitEnum
|
|
||||||
* @phpstan-param T $case
|
|
||||||
*/
|
|
||||||
abstract protected function enum(\UnitEnum &$case) : void;
|
abstract protected function enum(\UnitEnum &$case) : void;
|
||||||
|
|
||||||
public function bellAttachmentType(\pocketmine\block\utils\BellAttachmentType &$value) : void{
|
public function bellAttachmentType(\pocketmine\block\utils\BellAttachmentType &$value) : void{
|
||||||
|
@ -89,10 +89,6 @@ interface RuntimeDataDescriber extends RuntimeEnumDescriber{
|
|||||||
|
|
||||||
public function straightOnlyRailShape(int &$railShape) : void;
|
public function straightOnlyRailShape(int &$railShape) : void;
|
||||||
|
|
||||||
/**
|
|
||||||
* @phpstan-template T of \UnitEnum
|
|
||||||
* @phpstan-param T $case
|
|
||||||
*/
|
|
||||||
public function enum(\UnitEnum &$case) : void;
|
public function enum(\UnitEnum &$case) : void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user