code: public function withPopulation(string $population = null): self
      {
          $new = clone $this;
          $new->population = null === $population ? null : (int) $population;
  
          return $new;
      }
docs: @param int|null $population
  
  @return CountryInfo