mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
phpstan fail very sad :(
This commit is contained in:
@@ -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){
|
||||||
|
Reference in New Issue
Block a user