Skip to content

Commit 472ff52

Browse files
committed
Fixes MAGETWO-49425 ( #3448 )
Fixes a wrong type hint. See #3448 for further details.
1 parent 6c3c600 commit 472ff52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Customer/Block/Address/Renderer/DefaultRenderer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ public function setType(\Magento\Framework\DataObject $type)
9191
}
9292

9393
/**
94-
* @param AbstractAddress|null $address
94+
* @param AddressModelInterface|null $address
9595
* @return string
9696
* All new code should use renderArray based on Metadata service
9797
*/
98-
public function getFormat(AbstractAddress $address = null)
98+
public function getFormat(AddressModelInterface $address = null)
9999
{
100100
$countryFormat = $address === null
101101
? false : $address->getCountryModel()->getFormat(

0 commit comments

Comments
 (0)