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 Feb 4, 2024
1 parent 5e5b103 commit a4d4d7f
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 a4d4d7f

Please sign in to comment.