src/Price/Model/AdjustableTrait.php
public function removeAdjustment(AdjustmentInterface $adjustment)
    {
        if ($this->hasAdjustment($adjustment)) {
            $this->adjustmentsTotal = null;
            $adjustment->setAdjustable(null);
            $this->adjustments->removeElement($adjustment);
        }

        return $this;
    }
public function removeAdjustment(AdjustmentInterface $adjustment)
    {
        if ($this->hasAdjustment($adjustment)) {
            $this->adjustmentsTotal = null;
            $adjustment->setAdjustable(null);
            $this->adjustments->removeElement($adjustment);
        }

        return $this;
    }
public function removeAdjustment ( AdjustmentInterface $ adjustment ) { if ( $ this -> hasAdjustment ( $ adjustment ) ) { $ this -> adjustmentsTotal = null ; $ adjustment -> setAdjustable ( null ) ; $ this -> adjustments -> removeElement ( $ adjustment ) ; } return $ this ; }
Removes a given adjustment

@param AdjustmentInterface $adjustment

@return $this
Removes a given adjustment