code: public function remainingTrialDays()
      {
          if (!$this->isTrial()) {
              return;
          }
  
          return $this->isActiveTrial() ? Carbon::today()->diffInDays($this->trial_ends_on) : 0;
      }
docs: Returns the remaining trial days.
  
  @return int