Skip to content

Commit 1313861

Browse files
author
Tommy Quissens
committed
add nullable in comment & code cleanup
1 parent 9121318 commit 1313861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Customer/Model/Checkout/ConfigProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ class ConfigProvider implements ConfigProviderInterface
4040
* @param UrlInterface $urlBuilder
4141
* @param StoreManagerInterface $storeManager
4242
* @param ScopeConfigInterface $scopeConfig
43-
* @param Url $customerUrl
43+
* @param Url|null $customerUrl
4444
*/
4545
public function __construct(
4646
UrlInterface $urlBuilder,
4747
StoreManagerInterface $storeManager,
4848
ScopeConfigInterface $scopeConfig,
4949
Url $customerUrl = null
5050
) {
51-
$this->urlBuilder=$urlBuilder;
51+
$this->urlBuilder = $urlBuilder;
5252
$this->storeManager = $storeManager;
5353
$this->scopeConfig = $scopeConfig;
5454
$this->customerUrl = $customerUrl ?? \Magento\Framework\App\ObjectManager::getInstance()

0 commit comments

Comments
 (0)