Skip to content

Commit d2a48ae

Browse files
weierophinneyppaulis
authored andcommitted
qa: fix CS issues
via phpcbf Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net> Signed-off-by: Pascal Paulis <ppaulis@gmail.com>
1 parent 8ffed7f commit d2a48ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/InputFilter/RestService/PatchInputFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function init()
7575
'continue_if_empty' => true,
7676
'validators' => [
7777
new CallbackValidator(function ($value) {
78-
if (!is_numeric($value) || ((string)$value) !== (string)(int)$value) {
78+
if (! is_numeric($value) || ((string) $value) !== (string) (int) $value) {
7979
return false;
8080
}
8181

test/InputFilter/RestService/PatchInputFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function dataProviderIsValidTrue(): array
3535
'page_size-string' => ['25'],
3636
'page_size-string-negative' => ['-1'],
3737
'page_size-integer' => [25],
38-
'page_size-integer-negative' => [-1]
38+
'page_size-integer-negative' => [-1],
3939
];
4040
}
4141

0 commit comments

Comments
 (0)