From 0b4a52919314d3f18987355313dbcd147c994ddd Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Thu, 19 Dec 2024 02:02:27 +0000 Subject: [PATCH] Fix return type of getHistory() Signed-off-by: Kamil Tekiela --- src/ConfigStorage/Relation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ConfigStorage/Relation.php b/src/ConfigStorage/Relation.php index 5ca1769deb..fa04966c09 100644 --- a/src/ConfigStorage/Relation.php +++ b/src/ConfigStorage/Relation.php @@ -662,9 +662,9 @@ class Relation * * @param string $username the username * - * @return mixed[]|bool list of history items + * @return mixed[]|false list of history items */ - public function getHistory(string $username): array|bool + public function getHistory(string $username): array|false { $sqlHistoryFeature = $this->getRelationParameters()->sqlHistoryFeature; if ($sqlHistoryFeature === null) {