Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
i-just committed Sep 3, 2024
1 parent 4212822 commit aa0240b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web/twig/variables/FeedMeVariable.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@ public function supportedSubField($class): bool
/**
* Check if the only sources set for a relation field are custom ones.
*
* @param array|null $field
* @param mixed $field
* @return bool
*/
public function fieldHasOnlyCustomSources(?array $field = null): bool
public function fieldHasOnlyCustomSources(mixed $field = null): bool
{
if ($field === null) {
return false;
Expand Down

0 comments on commit aa0240b

Please sign in to comment.