Fixed test issues

This commit is contained in:
Jan Böhmer 2023-10-08 21:54:51 +02:00
parent 3c5a96ba5c
commit 1becde537b
2 changed files with 3 additions and 4 deletions

View file

@ -30,9 +30,8 @@ class ColumnSortHelper
{
private array $columns = [];
public function __construct(LoggerInterface $logger)
public function __construct(private readonly LoggerInterface $logger)
{
$this->logger = $logger;
}
/**
@ -111,7 +110,7 @@ class ColumnSortHelper
//and the remaining non-visible columns
foreach ($this->columns as $col_id => $col_data) {
if (in_array($col_id, $processed_columns)) {
if (in_array($col_id, $processed_columns, true)) {
// column already processed
continue;
}