summaryrefslogtreecommitdiff
path: root/app/Fact.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Fact.php')
-rw-r--r--app/Fact.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Fact.php b/app/Fact.php
index fa81baaf57..fe5f92ffdc 100644
--- a/app/Fact.php
+++ b/app/Fact.php
@@ -313,7 +313,7 @@ class Fact
*
* @return bool
*/
- public function canShow(int $access_level = null): bool
+ public function canShow(int|null $access_level = null): bool
{
$access_level ??= Auth::accessLevel($this->record->tree());