We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7111e3f commit 905d6dbCopy full SHA for 905d6db
src/Views/Components/ConditionalWrapper.php
@@ -10,7 +10,7 @@ class ConditionalWrapper extends Component
10
{
11
protected string $view = 'conditional-wrapper';
12
public string $reference;
13
- public array $values;
+ public array | string $values;
14
public bool $json;
15
public bool $withWrapper;
16
public bool $hideFields;
@@ -23,7 +23,7 @@ class ConditionalWrapper extends Component
23
*/
24
public function __construct(
25
string $reference = '#',
26
- array $values = [],
+ array | string $values = [],
27
bool $json = false,
28
bool $withWrapper = true,
29
bool $hideFields = true,
0 commit comments