From 989c394690af3da21f6d24022f8b9750989d8732 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Mon, 16 Mar 2015 13:56:04 -0400 Subject: [PATCH] Minor style fix. --- jsonld.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jsonld.php b/jsonld.php index e0f8258..7bbe87b 100644 --- a/jsonld.php +++ b/jsonld.php @@ -3695,9 +3695,9 @@ class JsonLdProcessor { // copy non-@type keywords if($property !== '@type' && self::_isKeyword($property)) { - if($property === '@index' && property_exists($subject, '@index') - && ($input->{'@index'} !== $subject->{'@index'} - || $input->{'@index'}->{'@id'} !== $subject->{'@index'}->{'@id'})) { + if($property === '@index' && property_exists($subject, '@index') && + ($input->{'@index'} !== $subject->{'@index'} || + $input->{'@index'}->{'@id'} !== $subject->{'@index'}->{'@id'})) { throw new JsonLdException( 'Invalid JSON-LD syntax; conflicting @index property detected.', 'jsonld.SyntaxError', 'conflicting indexes',