Skip to content

Commit 61135e5

Browse files
committed
Fix wrong property passed to \count()
1 parent 0fe38b8 commit 61135e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Elastica/Query/GeoPolygon.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ public function toArray(): array
5656
*/
5757
public function count(): int
5858
{
59-
return \count($this->_key);
59+
return \count($this->_points);
6060
}
6161
}

0 commit comments

Comments
 (0)