Some formatting changes.
This commit is contained in:
parent
ae46860dab
commit
d0c73ec99d
|
@ -1400,9 +1400,10 @@ class JsonLdProcessor {
|
|||
foreach($input as $e) {
|
||||
$this->_getStatements($e, $namer, $bnodes, $subjects);
|
||||
}
|
||||
return;
|
||||
}
|
||||
// safe to assume input is a subject/blank node
|
||||
else {
|
||||
|
||||
// Note: safe to assume input is a subject/blank node
|
||||
$isBnode = self::_isBlankNode($input);
|
||||
|
||||
// name blank node if appropriate, use passed name if given
|
||||
|
@ -1419,7 +1420,6 @@ class JsonLdProcessor {
|
|||
$s = $isBnode ? '_:a' : $name;
|
||||
|
||||
// get statements for the blank node
|
||||
$entries;
|
||||
if($isBnode) {
|
||||
if(!property_exists($bnodes, $name)) {
|
||||
$entries = $bnodes->{$name} = new ArrayObject();
|
||||
|
@ -1519,7 +1519,6 @@ class JsonLdProcessor {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts a @list value into an embedded linked list of blank nodes in
|
||||
|
|
Loading…
Reference in a new issue