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