Skip to content

Commit

Permalink
If a working-time is still open, we need to have the NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
alister committed May 22, 2018
1 parent c070f27 commit 3c39f78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Library that support connections and retrieve data from WhenIWork.com API",
"minimum-stability": "stable",
"license": "MIT",
"version": "0.5.1",
"version": "0.5.2",
"require": {
"php": ">=7.1",
"jms/serializer": "~1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Time.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public function setStartTime($startTime): void
*
* @return DateTime
*/
public function getEndTime(): DateTime
public function getEndTime(): ?DateTime
{
return $this->endTime;
}
Expand Down

0 comments on commit 3c39f78

Please sign in to comment.