Fix return type of getHistory()

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela 2024-12-19 02:02:27 +00:00
parent 18493d01ba
commit 0b4a529193

View File

@ -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) {