Skip to content

Commit

Permalink
Fixed code smell issues on test file
Browse files Browse the repository at this point in the history
  • Loading branch information
uuur86 committed Aug 25, 2024
1 parent 7af9439 commit 6fb0f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestDataFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function getFilters()
'persons/*/age' => [
'type' => 'int',
'callback' => function ($value) {
return ($value > 10);
return $value > 10;
}
],
'persons/*/name' => [
Expand Down Expand Up @@ -81,7 +81,7 @@ public function testDataFilter()
);

$this->assertFalse($test_value_age['persons'][0]['age']);
$this->assertSame($test_value_age['persons'][2]['age'], 34);
$this->assertSame(34, $test_value_age['persons'][2]['age']);

print_r($test_value_name);
print_r($test_value_age);
Expand Down

0 comments on commit 6fb0f6f

Please sign in to comment.