Skip to content

Commit

Permalink
Merge pull request #8 from luft-jetzt/nullable-altitude
Browse files Browse the repository at this point in the history
Altitude must be nullable
  • Loading branch information
maltehuebner authored Jul 25, 2024
2 parents fae0c29 + 3c4654d commit e13712d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Station.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function getAltitude(): ?int
return $this->altitude;
}

public function setAltitude(int $altitude): self
public function setAltitude(?int $altitude = null): self
{
$this->altitude = $altitude;

Expand Down

0 comments on commit e13712d

Please sign in to comment.