Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Oct 4, 2023
2 parents 9360bc9 + ec45b27 commit 164a860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/Table/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct(string $id, array $attributes = [])

$this->parseTableCellAttributes($attributes);
$this->parseWidgetDefinition($attributes['widget'] ?? null);
$this->is_hidden = match(isset($attributes['hideIf'])) {
$this->is_hidden = match (isset($attributes['hideIf'])) {
false => false,
true => is_callable($attributes['hideIf']) ? call_user_func($attributes['hideIf']) : (bool) $attributes['hideIf'],
};
Expand Down

0 comments on commit 164a860

Please sign in to comment.