0

Long method part 13 for php missing $this

Leon 3 miesięcy temu zaktualizowano 3 miesięcy temu 1
if (isSummer($date)) {
  $charge = summerCharge($quantity);
} else {
  $charge = winterCharge($quantity);
}

Long method part 13 for php  

if ($this->isSummer($date)) {
  $charge = $this->summerCharge($quantity);
} else {
  $charge = winterCharge($quantity);
}