Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Feb 1, 2025
1 parent c6aff28 commit 6fb7fdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function __construct(
}

// required to create field entities and load assets
if ($this instanceof HasFieldsContract && !$this->isExcludeInstancing() && ! $this->isMorph()) {
if ($this instanceof HasFieldsContract && ! $this->isExcludeInstancing() && ! $this->isMorph()) {
$this->excludeInstancing();
$this->getResource()?->getFormFields();
}
Expand Down
2 changes: 1 addition & 1 deletion src/UI/src/Fields/FormElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public function getRequestValue(string|int|null $index = null): mixed
) ?? false
);

if($this->onRequestValue instanceof Closure) {
if ($this->onRequestValue instanceof Closure) {
return \call_user_func(
$this->onRequestValue,
$value,
Expand Down

0 comments on commit 6fb7fdb

Please sign in to comment.