/** * @inheritdoc */ public function addChangeType(AlertChangeTypeInterface $changeType) { if (!$this->changeTypes->contains($changeType)) { $this->changeTypes->add($changeType); } }
/** * @param AlertChangeType $changeType */ public function addChangeType(AlertChangeType $changeType) { $this->changeTypes->add($changeType); }