Skip to content

Commit

Permalink
Merge pull request #2 from gilo-agilo/master
Browse files Browse the repository at this point in the history
FIXED: referencing of stdClass is corrected
  • Loading branch information
Peekmo committed Apr 11, 2014
2 parents bd9e7ea + d7bd62f commit cf452d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Peekmo/JsonPath/JsonPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private function evalx($x, $v, $vname=null)
private function toObject($array)
{
//$o = (object)'';
$o = new stdClass();
$o = new \stdClass();

foreach ($array as $key => $value) {
if (is_array($value)) {
Expand Down

0 comments on commit cf452d4

Please sign in to comment.