Commit b3dadbc1 authored by Niklas de Vries's avatar Niklas de Vries
Browse files

Fixed return type for getters

parent 6401425e
......@@ -71,7 +71,7 @@ final class LocalTime
$this->second = $second;
}
public function getHour(): string
public function getHour(): int
{
return $this->hour;
}
......@@ -93,7 +93,7 @@ final class LocalTime
return $clone;
}
public function getMinute(): string
public function getMinute(): int
{
return $this->minute;
}
......@@ -115,7 +115,7 @@ final class LocalTime
return $clone;
}
public function getSecond(): string
public function getSecond(): int
{
return $this->second;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment