Completed
Pull Request — master (#997)
by Antoine
03:38
created
src/Bridge/Symfony/Routing/IriConverter.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,10 +51,10 @@
 block discarded – undo
51 51
         $this->propertyAccessor = $propertyAccessor ?: PropertyAccess::createPropertyAccessor();
52 52
 
53 53
         if (!$itemIdentifiersExtractor) {
54
-           @trigger_error('Not injecting ItemIdentifiersExtractor is deprecated since API Platform 2.1 and will not be possible anymore in API Platform 3');
55
-           $this->itemIdentifiersExtractor = new ItemIdentifiersExtractor($this->propertyNameCollectionFactory, $this->propertyMetadataFactory, $this->propertyAccessor);
54
+            @trigger_error('Not injecting ItemIdentifiersExtractor is deprecated since API Platform 2.1 and will not be possible anymore in API Platform 3');
55
+            $this->itemIdentifiersExtractor = new ItemIdentifiersExtractor($this->propertyNameCollectionFactory, $this->propertyMetadataFactory, $this->propertyAccessor);
56 56
         } else {
57
-           $this->itemIdentifiersExtractor = $itemIdentifiersExtractor;
57
+            $this->itemIdentifiersExtractor = $itemIdentifiersExtractor;
58 58
         }
59 59
     }
60 60
 
Please login to merge, or discard this patch.