Skip to content

Commit c1a0cbc

Browse files
committed
Fix type hinting in StoreManagerInterface / current Store
1 parent 9f8bfc8 commit c1a0cbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Store/Model/StoreManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class StoreManager implements
6969
/**
7070
* Default store code
7171
*
72-
* @var string
72+
* @var string|int|\Magento\Store\Api\Data\StoreInterface
7373
*/
7474
protected $currentStoreId = null;
7575

app/code/Magento/Store/Model/StoreManagerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function getGroups($withDefault = false);
117117
/**
118118
* Set current default store
119119
*
120-
* @param string $store
120+
* @param string|int|\Magento\Store\Api\Data\StoreInterface $store
121121
* @return void
122122
*/
123123
public function setCurrentStore($store);

0 commit comments

Comments
 (0)