Skip to content

Commit ec9af8f

Browse files
CodeWithDennisgithub-actions[bot]
authored andcommitted
Fix styling
1 parent e10fc69 commit ec9af8f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/SelectTree.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ class SelectTree extends Field implements HasAffixActions
6363

6464
protected Closure|array $hiddenOptions = [];
6565

66-
protected array | Closure | null $createOptionActionForm = null;
66+
protected array|Closure|null $createOptionActionForm = null;
6767

68-
protected string | Closure | null $createOptionModalHeading = null;
68+
protected string|Closure|null $createOptionModalHeading = null;
6969

7070
protected ?Closure $modifyCreateOptionActionUsing = null;
7171

@@ -399,7 +399,7 @@ public function getHiddenOptions(): array
399399
return $this->evaluate($this->hiddenOptions);
400400
}
401401

402-
public function getCreateOptionActionForm(Form $form): array | Form | null
402+
public function getCreateOptionActionForm(Form $form): array|Form|null
403403
{
404404
return $this->evaluate($this->createOptionActionForm, ['form' => $form]);
405405
}
@@ -414,14 +414,14 @@ public function getCreateOptionModalHeading(): ?string
414414
return $this->evaluate($this->createOptionModalHeading);
415415
}
416416

417-
public function manageOptionForm(array | Closure | null $schema): static
417+
public function manageOptionForm(array|Closure|null $schema): static
418418
{
419419
$this->createOptionForm($schema);
420420

421421
return $this;
422422
}
423423

424-
public function createOptionForm(array | Closure | null $schema): static
424+
public function createOptionForm(array|Closure|null $schema): static
425425
{
426426
$this->createOptionActionForm = $schema;
427427

@@ -456,7 +456,7 @@ public function getCreateOptionAction(): ?Action
456456
}
457457

458458
$action = Action::make($this->getCreateOptionActionName())
459-
->form(function (SelectTree $component, Form $form): array | Form | null {
459+
->form(function (SelectTree $component, Form $form): array|Form|null {
460460
return $component->getCreateOptionActionForm($form->model(
461461
$component->getRelationship() ? $component->getRelationship()->getModel()::class : null,
462462
));
@@ -515,5 +515,4 @@ public function getCreateOptionAction(): ?Action
515515

516516
return $action;
517517
}
518-
519518
}

0 commit comments

Comments
 (0)