Skip to content

Commit

Permalink
Fixed variable referencing for php56
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Regeda committed May 8, 2015
1 parent 996d354 commit c4ccfae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/LinguaLeo/DataQuery/Criteria.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ private function &castArray(&$value)
if (is_array($value)) {
return $value;
}
return $value = [$value];
$value = [$value];
return $value;
}

public function getMeta($name)
Expand Down

0 comments on commit c4ccfae

Please sign in to comment.