Skip to content

Commit 36887fd

Browse files
committed
Fix CS from last PR
1 parent 053efe6 commit 36887fd

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Query/GeoBoundingBoxQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function build(): array
4848

4949
protected function pointToArray(?GpsPointEntity $entity): ?array
5050
{
51-
if ($entity === null) {
51+
if (null === $entity) {
5252
return null;
5353
}
5454

tests/Query/GeoBoundingBoxQueryTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ public function testBuildTopLeftBottomRight(): void
4040
'bottom_right' => [
4141
'lat' => 2.1,
4242
'lon' => 3.1,
43-
4443
],
45-
4644
],
4745
],
4846
], $result);
@@ -66,9 +64,7 @@ public function testBuildTopRightBottomLeft(): void
6664
'bottom_left' => [
6765
'lat' => 2.1,
6866
'lon' => 3.1,
69-
7067
],
71-
7268
],
7369
],
7470
], $result);

0 commit comments

Comments
 (0)