We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7fafe commit 43a12b0Copy full SHA for 43a12b0
src/Schema/Concerns/HasVisibility.php
@@ -40,8 +40,8 @@ public function isVisible(Context $context): bool
40
return $this->visible;
41
}
42
43
- return isset($context->model)
+ return (bool) (isset($context->model)
44
? ($this->visible)($context->model, $context)
45
- : ($this->visible)($context);
+ : ($this->visible)($context));
46
47
0 commit comments