Skip to content

Commit

Permalink
fix: ColumnTypeExtensions's "buildHeaderView" and "buildValueView" me…
Browse files Browse the repository at this point in the history
…thods not applied in ResolvedColumnType
  • Loading branch information
Kreyu committed Jun 28, 2023
1 parent d16b5ae commit 34525b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Column/Type/ResolvedColumnType.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,21 @@ public function buildHeaderView(ColumnHeaderView $view, ColumnInterface $column,
$this->parent?->buildHeaderView($view, $column, $options);

$this->innerType->buildHeaderView($view, $column, $options);

foreach ($this->typeExtensions as $typeExtension) {
$typeExtension->buildHeaderView($view, $column, $options);
}
}

public function buildValueView(ColumnValueView $view, ColumnInterface $column, array $options): void
{
$this->parent?->buildValueView($view, $column, $options);

$this->innerType->buildValueView($view, $column, $options);

foreach ($this->typeExtensions as $typeExtension) {
$typeExtension->buildValueView($view, $column, $options);
}
}

public function getOptionsResolver(): OptionsResolver
Expand Down

0 comments on commit 34525b3

Please sign in to comment.