canApplyMsrpData[$quoteId] = (bool)$canApply; return $this; } /** * @param int $quoteId * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) */ public function getCanApplyMsrp($quoteId) { if (isset($this->canApplyMsrpData[$quoteId])) { return (bool)$this->canApplyMsrpData[$quoteId]; } return false; } }