We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053efe6 commit 36887fdCopy full SHA for 36887fd
src/Query/GeoBoundingBoxQuery.php
@@ -48,7 +48,7 @@ public function build(): array
48
49
protected function pointToArray(?GpsPointEntity $entity): ?array
50
{
51
- if ($entity === null) {
+ if (null === $entity) {
52
return null;
53
}
54
tests/Query/GeoBoundingBoxQueryTest.php
@@ -40,9 +40,7 @@ public function testBuildTopLeftBottomRight(): void
40
'bottom_right' => [
41
'lat' => 2.1,
42
'lon' => 3.1,
43
-
44
],
45
46
47
], $result);
@@ -66,9 +64,7 @@ public function testBuildTopRightBottomLeft(): void
66
64
'bottom_left' => [
67
65
68
69
70
71
72
73
74
0 commit comments