Skip to content

Commit

Permalink
docs: Update the inline documentation to describe the return type is …
Browse files Browse the repository at this point in the history
…DateTimeImmutable

Signed-off-by: Sacha Telgenhof <[email protected]>
  • Loading branch information
stelgenhof committed Jan 31, 2024
1 parent f309783 commit 4f99f5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AirQuality.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function getAQI(): array;
/**
* Returns the date/time the last measurement was taken.
*
* @return \DateTime the date/time the last measurement was taken
* @return \DateTimeImmutable the date/time the last measurement was taken
*
* @throws \Exception
*/
Expand Down
2 changes: 1 addition & 1 deletion src/WAQI.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function getAQI(): array
/**
* Returns the date/time the last measurement was taken.
*
* @return \DateTime the date/time the last measurement was taken
* @return \DateTimeImmutable the date/time the last measurement was taken
*
* @throws \Exception
*/
Expand Down

0 comments on commit 4f99f5b

Please sign in to comment.