Skip to content

Commit b1466ef

Browse files
chore: change back return type
1 parent 1f0f7eb commit b1466ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/tags/src/Access/GlobalPolicy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function can(User $actor, string $ability)
4747
$minSecondaryTags = (int) $this->settings->get('flarum-tags.min_secondary_tags');
4848

4949
if ($minPrimaryTags === 0 && $minSecondaryTags === 0) {
50-
return null;
50+
return;
5151
}
5252
}
5353

0 commit comments

Comments
 (0)