Release 2.55 (#5907)
This commit is contained in:
@@ -28,7 +28,7 @@ final class Month extends Timesheet
|
||||
\sprintf('Invalid month given. Expected 1-12, received "%s".', $monthNumber)
|
||||
);
|
||||
}
|
||||
$this->month = str_pad($month, 2, '0', STR_PAD_LEFT);
|
||||
$this->month = str_pad((string) $month, 2, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
public function getMonth(): string
|
||||
|
||||
Reference in New Issue
Block a user