Skip to content

Commit 0a6b612

Browse files
author
Igor Melnikov
committed
Merge branch 'MAGETWO-64224-remove-usages-of-attributecache' of github.com:magento-jackalopes/magento2ce into MAGETWO-64224-remove-usages-of-attributecache
2 parents 184e573 + 5776633 commit 0a6b612

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

app/code/Magento/Customer/Model/Metadata/AddressCachedMetadata.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class AddressCachedMetadata extends CachedMetadata implements AddressMetadataInt
2020
/**
2121
* Constructor
2222
*
23-
* @param AddressMetadataInterface $metadata
23+
* @param AddressMetadata $metadata
2424
* @param AttributeMetadataCache|null $attributeMetadataCache
2525
*/
2626
public function __construct(
27-
AddressMetadataInterface $metadata,
27+
AddressMetadata $metadata,
2828
AttributeMetadataCache $attributeMetadataCache = null
2929
) {
3030
parent::__construct($metadata, $attributeMetadataCache);

app/code/Magento/Customer/Model/Metadata/CustomerCachedMetadata.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class CustomerCachedMetadata extends CachedMetadata implements CustomerMetadataI
2020
/**
2121
* Constructor
2222
*
23-
* @param CustomerMetadataInterface $metadata
23+
* @param CustomerMetadata $metadata
2424
* @param AttributeMetadataCache|null $attributeMetadataCache
2525
*/
2626
public function __construct(
27-
CustomerMetadataInterface $metadata,
27+
CustomerMetadata $metadata,
2828
AttributeMetadataCache $attributeMetadataCache = null
2929
) {
3030
parent::__construct($metadata, $attributeMetadataCache);

app/code/Magento/Customer/etc/di.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -374,14 +374,4 @@
374374
<argument name="attributeMetadataCache" xsi:type="object">Magento\Customer\Model\Metadata\AttributeMetadataCache\Proxy</argument>
375375
</arguments>
376376
</type>
377-
<type name="Magento\Customer\Model\Metadata\CustomerCachedMetadata">
378-
<arguments>
379-
<argument name="metadata" xsi:type="object">Magento\Customer\Api\CustomerMetadataInterface\Proxy</argument>
380-
</arguments>
381-
</type>
382-
<type name="Magento\Customer\Model\Metadata\AddressCachedMetadata">
383-
<arguments>
384-
<argument name="metadata" xsi:type="object">Magento\Customer\Api\AddressMetadataInterface\Proxy</argument>
385-
</arguments>
386-
</type>
387377
</config>

0 commit comments

Comments
 (0)