phpstan fail very sad :(

This commit is contained in:
Dylan K. Taylor
2022-07-18 15:26:14 +01:00
parent 8660dfe576
commit b8d1b00985
2 changed files with 2 additions and 2 deletions

View File

@@ -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){