Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Apr 10, 2024
1 parent 447231d commit 2d90916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/Filter/FilterTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ abstract class FilterTestCase extends TestCase
* @param string[] $expected
* @param ProxyQuery<object> $proxyQuery
*/
final protected function assertSameQuery(array $expected, ProxyQuery $proxyQuery): void
final protected static function assertSameQuery(array $expected, ProxyQuery $proxyQuery): void
{
$queryBuilder = $proxyQuery->getQueryBuilder();
if (!$queryBuilder instanceof TestQueryBuilder) {
Expand All @@ -40,7 +40,7 @@ final protected function assertSameQuery(array $expected, ProxyQuery $proxyQuery
* @param mixed[] $expected
* @param ProxyQuery<object> $proxyQuery
*/
final protected function assertSameQueryParameters(array $expected, ProxyQuery $proxyQuery): void
final protected static function assertSameQueryParameters(array $expected, ProxyQuery $proxyQuery): void
{
$queryBuilder = $proxyQuery->getQueryBuilder();
if (!$queryBuilder instanceof TestQueryBuilder) {
Expand Down
1 change: 0 additions & 1 deletion tests/Filter/ModelFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public function testFilterNonObject(): void

$proxyQuery = new ProxyQuery($this->createQueryBuilderStub());

$objects = [new \stdClass(), new \stdClass()];
$filter->filter($proxyQuery, 'alias', 'field', FilterData::fromArray([
'type' => EqualOperatorType::TYPE_EQUAL,
'value' => null,
Expand Down

0 comments on commit 2d90916

Please sign in to comment.