Some formatting changes.

This commit is contained in:
Dave Longley 2012-04-26 13:34:24 -04:00
parent ae46860dab
commit d0c73ec99d

View file

@ -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