Skip to content

Commit 905d6db

Browse files
committed
fix: conditional wrapper component
1 parent 7111e3f commit 905d6db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Views/Components/ConditionalWrapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ConditionalWrapper extends Component
1010
{
1111
protected string $view = 'conditional-wrapper';
1212
public string $reference;
13-
public array $values;
13+
public array | string $values;
1414
public bool $json;
1515
public bool $withWrapper;
1616
public bool $hideFields;
@@ -23,7 +23,7 @@ class ConditionalWrapper extends Component
2323
*/
2424
public function __construct(
2525
string $reference = '#',
26-
array $values = [],
26+
array | string $values = [],
2727
bool $json = false,
2828
bool $withWrapper = true,
2929
bool $hideFields = true,

0 commit comments

Comments
 (0)