mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
phpstan fail very sad :(
This commit is contained in:
parent
8660dfe576
commit
b8d1b00985
@ -172,7 +172,7 @@ $readerFuncs = [
|
|||||||
];
|
];
|
||||||
$writerFuncs = [
|
$writerFuncs = [
|
||||||
"" => [
|
"" => [
|
||||||
"abstract public function writeInt(int \$bits, int \$value) : void;"
|
"abstract public function writeInt(int \$bits, int \$value) : self;"
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
$functionName = "";
|
$functionName = "";
|
||||||
|
@ -29,7 +29,7 @@ namespace pocketmine\data\runtime;
|
|||||||
*/
|
*/
|
||||||
trait RuntimeEnumSerializerTrait{
|
trait RuntimeEnumSerializerTrait{
|
||||||
|
|
||||||
abstract public function writeInt(int $bits, int $value) : void;
|
abstract public function writeInt(int $bits, int $value) : self;
|
||||||
|
|
||||||
public function writeBellAttachmentType(\pocketmine\block\utils\BellAttachmentType $value) : void{
|
public function writeBellAttachmentType(\pocketmine\block\utils\BellAttachmentType $value) : void{
|
||||||
$this->writeInt(2, match($value){
|
$this->writeInt(2, match($value){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user