for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class DiscountCouponSiteTreeDOD_Product extends DataExtension
{
public function ExcludeInDiscountCalculation(DiscountCouponModifier $modifier)
$coupon = $modifier->DiscountCouponOption();
DiscountCouponOption()
DiscountCouponModifier
myDiscountCouponOption()
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.
return ! $coupon->canBeDiscounted($this->owner);
}
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.