Skip to content
This repository was archived by the owner on Nov 15, 2018. It is now read-only.

Commit 86ee4d6

Browse files
committed
Merge pull request #7 from JustinAzoff/patch-2
Filter needs to ignore objects
2 parents 7bfa034 + 746f50b commit 86ee4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Client/Filter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private function encloseValue($value)
8585
return '[' . $value->toIso8601String() . ']';
8686
}
8787

88-
if ((is_array($value)) || (is_integer($value))) {
88+
if ((is_array($value)) || (is_integer($value)) || (is_object($value))) {
8989
return $value;
9090
}
9191

0 commit comments

Comments
 (0)