Skip to content

Commit 81091b0

Browse files
13twelveifox
authored andcommitted
use $displayActions from trait
1 parent 24740e6 commit 81091b0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Services/Forms/Fields/Traits/DisableActions.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
trait DisableActions
66
{
7-
protected bool $actions = true;
7+
protected bool $displayActions = true;
88

99
/**
1010
* Adds a border around the options.
1111
*/
12-
public function disableActions(bool $actions = true): static
12+
public function disableActions(bool $displayActions = true): static
1313
{
14-
$this->displayActions = !$actions;
14+
$this->displayActions = !$displayActions;
1515

1616
return $this;
1717
}

src/Services/Forms/InlineRepeater.php

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ protected function __construct(
3636
private ?string $titleField = null,
3737
private ?bool $hideTitlePrefix = false,
3838
private ?bool $buttonAsLink = false,
39-
private ?bool $displayActions = true,
4039
protected ?array $connectedTo = null,
4140
) {
4241
}

0 commit comments

Comments
 (0)