File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3695,9 +3695,9 @@ protected function _createNodeMap(
3695
3695
3696
3696
// copy non-@type keywords
3697
3697
if ($ property !== '@type ' && self ::_isKeyword ($ property )) {
3698
- if ($ property === '@index ' && property_exists ($ subject , '@index ' )
3699
- && ($ input ->{'@index ' } !== $ subject ->{'@index ' }
3700
- || $ input ->{'@index ' }->{'@id ' } !== $ subject ->{'@index ' }->{'@id ' })) {
3698
+ if ($ property === '@index ' && property_exists ($ subject , '@index ' ) &&
3699
+ ($ input ->{'@index ' } !== $ subject ->{'@index ' } ||
3700
+ $ input ->{'@index ' }->{'@id ' } !== $ subject ->{'@index ' }->{'@id ' })) {
3701
3701
throw new JsonLdException (
3702
3702
'Invalid JSON-LD syntax; conflicting @index property detected. ' ,
3703
3703
'jsonld.SyntaxError ' , 'conflicting indexes ' ,
You can’t perform that action at this time.
0 commit comments