Skip to content

Commit

Permalink
[68658] Пофиксить count для php7.3 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-danilyuk authored Mar 23, 2020
1 parent 7783bfe commit 3f87f8c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ All notable changes to this project will be documented in this file based on the
### Deprecated


## [6.0.2](https://github.com/ruflin/Elastica/compare/6.0.1...6.0.2)

### Bugfixes

- Fix count function type mismatch errors


## [6.0.1](https://github.com/ruflin/Elastica/compare/6.0.0...6.0.1)

### Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion lib/Elastica6/Query/GeoPolygon.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ public function toArray()
*/
public function count()
{
return count($this->_key);
return count($this->_points);
}
}

0 comments on commit 3f87f8c

Please sign in to comment.