@@ -54,7 +54,7 @@ |
||
| 54 | 54 | $this->propertyAccessor = $propertyAccessor ?: PropertyAccess::createPropertyAccessor(); |
| 55 | 55 | $this->resourceManager = $resourceManager; |
| 56 | 56 | |
| 57 | - $this->setCircularReferenceHandler(function ($object) { |
|
| 57 | + $this->setCircularReferenceHandler(function($object) { |
|
| 58 | 58 | return $this->iriConverter->getIriFromItem($object); |
| 59 | 59 | }); |
| 60 | 60 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | return; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - $parts = array_map(function ($iri) { |
|
| 37 | + $parts = array_map(function($iri) { |
|
| 38 | 38 | return sprintf('(^|\,)%s($|\,)', preg_quote($iri)); |
| 39 | 39 | }, $iris); |
| 40 | 40 | $regex = isset($parts[1]) ? sprintf('(%s)', implode(')|(', $parts)) : $parts[0]; |