Skip to content

Commit

Permalink
php 5.3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Dec 18, 2014
1 parent 5c08d0a commit 11a7f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cursor.php
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ public function moveToCollection($targetCollectionName, $targetDatabaseName = nu
*/
public function getHash()
{
$hash = [];
$hash = array();

// expression
$hash[] = json_encode($this->expression->toArray());
Expand Down

0 comments on commit 11a7f4e

Please sign in to comment.