Skip to content

Commit

Permalink
fix: Type for checkPermission() has to be string.
Browse files Browse the repository at this point in the history
  • Loading branch information
das-peter committed Aug 14, 2024
1 parent 6e5d57e commit f1682e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function resolve($value = null, $args = [], $context = [], ResolveInfo $r
// Explicitly set the type of the mockup object because
// these don't have the matching class instance for
// auto-detect.
$type = null;
$type = '';
if ($relation instanceof DefaultMockup) {
$type = $relation->getType();
}
Expand Down

0 comments on commit f1682e6

Please sign in to comment.