Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ parameters:
- identifier: binaryOp.invalid
- identifier: return.type
- identifier: argument.type
- identifier: offsetAccess.nonOffsetAccessible

excludePaths:
- ./src/Html/Fluent.php
3 changes: 1 addition & 2 deletions src/Html/Options/Plugins/ColumnControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ public function columnControlFooterSearch(array $content = []): static

public function columnControlSearchDropdown(int|string $target = 0): static
{
$this->addColumnControl($target, ['order', 'searchDropdown'])
->ordering(['indicators' => false, 'handler' => false]);
$this->addColumnControl($target, ['order', 'searchDropdown']);

return $this;
}
Expand Down
4 changes: 0 additions & 4 deletions tests/Html/Extensions/ColumnControlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ public function it_can_add_column_control_search_dropdown()
['target' => 1, 'content' => ['order', 'searchDropdown']],
];
$this->assertEquals($expected, $builder->getAttributes()['columnControl']);

// Should also set ordering options
$attributes = $builder->getAttributes();
$this->assertEquals(['indicators' => false, 'handler' => false], $attributes['ordering']);
}

#[Test]
Expand Down