item->sellIn -= 1; if ($this->item->quality < 50) { $this->item->quality += 1; } } }