@@ -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 | sprintf('(^|\,)%s($|\,)', preg_quote($iri)); |
| 39 | 39 | }, $iris); |
| 40 | 40 | $regex = isset($parts[1]) ? sprintf('(%s)', implode(')|(', $parts)) : $parts[0]; |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | use ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface; |
| 22 | 22 | use ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface; |
| 23 | 23 | use ApiPlatform\Core\Metadata\Property\PropertyMetadata; |
| 24 | -use Symfony\Component\HttpFoundation\Request; |
|
| 25 | 24 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
| 26 | 25 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 27 | 26 | use Symfony\Component\PropertyAccess\PropertyAccessorInterface; |