Skip to content

Commit

Permalink
fix: type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jackd248 committed Nov 13, 2024
1 parent b80d175 commit db48180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Utility/ContentUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ public static function getExtensionRecords(string $table, ?int $pid = null): arr
->fetchAllAssociative();
}

public static function getExtensionRecord(?string $table, ?int $uid): array|bool
public static function getExtensionRecord(?string $table, ?int $uid): array|null
{
if (!$table && !$uid) {
return false;
return null;
}
return BackendUtility::getRecord($table, $uid);
}
Expand Down

0 comments on commit db48180

Please sign in to comment.