Completed
Pull Request — master (#952)
by Kévin
05:30 queued 01:24
created
src/HttpCache/VarnishPurger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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];
Please login to merge, or discard this patch.
src/Serializer/AbstractItemNormalizer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.