forked from friendica/php-json-ld
Passed merging subjects in normalization test.
This commit is contained in:
parent
be88eaa0c4
commit
3d7a5c6c6c
|
@ -1321,6 +1321,10 @@ function _flatten($parent, $parentProperty, $value, $subjects)
|
|||
{
|
||||
$subject->$key = new ArrayObject(array($subject->$key));
|
||||
}
|
||||
else
|
||||
{
|
||||
$subject->$key = new ArrayObject($subject->$key);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue