From 4f99f5bf2fb4f8012807cf225c38b0b0a9094a1e Mon Sep 17 00:00:00 2001 From: Sacha Telgenhof Date: Wed, 31 Jan 2024 23:33:14 +0900 Subject: [PATCH] docs: Update the inline documentation to describe the return type is DateTimeImmutable Signed-off-by: Sacha Telgenhof --- src/AirQuality.php | 2 +- src/WAQI.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AirQuality.php b/src/AirQuality.php index 652dd38..e8c7b29 100644 --- a/src/AirQuality.php +++ b/src/AirQuality.php @@ -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 */ diff --git a/src/WAQI.php b/src/WAQI.php index 36eef16..dcbeb34 100644 --- a/src/WAQI.php +++ b/src/WAQI.php @@ -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 */