Skip to content

Commit 41a4647

Browse files
committed
Fix CS
1 parent 3e990e7 commit 41a4647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/InputBagTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function testFilterArray()
4141
'foo' => ['12', '8'],
4242
]);
4343

44-
$result = $bag->filter('foo', null, \FILTER_VALIDATE_INT, \FILTER_FORCE_ARRAY);
44+
$result = $bag->filter('foo', null, FILTER_VALIDATE_INT, FILTER_FORCE_ARRAY);
4545
$this->assertSame([12, 8], $result);
4646
}
4747

@@ -82,6 +82,6 @@ public function testFilterArrayWithoutArrayFlagIsDeprecated()
8282
{
8383
$bag = new InputBag(['foo' => ['bar', 'baz']]);
8484
$this->expectDeprecation('Since symfony/http-foundation 5.1: Filtering an array value with "Symfony\Component\HttpFoundation\InputBag::filter()" without passing the FILTER_REQUIRE_ARRAY or FILTER_FORCE_ARRAY flag is deprecated');
85-
$bag->filter('foo', \FILTER_VALIDATE_INT);
85+
$bag->filter('foo', FILTER_VALIDATE_INT);
8686
}
8787
}

0 commit comments

Comments
 (0)