Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Dec 21, 2014
1 parent 7fe1973 commit 8bfe478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ Search documents within flat circle:
<?php
$this->collection
->find()
->withinCircle('point', 28.46963, 49.2347, 1)
->withinCircle('point', 28.46963, 49.2347, 0.001)
->findOne();
```

Expand All @@ -752,7 +752,7 @@ $point = $this->collection
->findOne();
```

Search documents within box:
Search documents with points (stored as legacy coordinates) within box:
```php
<?php
$point = $this->collection
Expand Down
2 changes: 1 addition & 1 deletion tests/DocumentGeoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ public function testExpressionWithinCircle()

$point = $this->collection
->find()
->withinCircle('point', 28.46963, 49.2347, 1)
->withinCircle('point', 28.46963, 49.2347, 0.001)
->findOne();

$this->assertNotEmpty($point);
Expand Down

0 comments on commit 8bfe478

Please sign in to comment.