$b; } public function __construct(int $value) { $this->value = $value; } public function setValue(int $value) : void { $this->value = $value; } public function getValue() : int { return $this->value; } public function isEqual(HeapItemInterface $item) : bool { /** @var self $item */ return $this->value === $item->getValue(); } }