Skip to content

Commit

Permalink
Fix Test Operation issues with type comparison, raphaelstolt#8, misse…
Browse files Browse the repository at this point in the history
…d space
  • Loading branch information
smoskalenko committed Aug 21, 2015
1 parent 1b8ffee commit ce0e24e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rs/Json/Patch/Operations/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function perform($targetDocument)
$get = null;
}

$value = is_object($this->getValue())? (array) $this->getValue() : $this->getValue();
$value = is_object($this->getValue()) ? (array) $this->getValue() : $this->getValue();

if (is_array($value) && is_array($get)) {
asort($get);
Expand Down

0 comments on commit ce0e24e

Please sign in to comment.