File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1103,20 +1103,20 @@ public function getSortingIndices(
1103
1103
1104
1104
/***
1105
1105
* @param $storeId
1106
- * @return array|bool|float|int|mixed| string|null
1106
+ * @return array< string,<array<string, mixed>>>
1107
1107
*/
1108
- public function getSorting ($ storeId = null )
1108
+ public function getSorting ($ storeId = null ): array
1109
1109
{
1110
1110
return $ this ->unserialize ($ this ->getRawSortingValue ($ storeId ));
1111
1111
}
1112
1112
1113
1113
/**
1114
- * @param $storeId
1115
- * @return mixed
1114
+ * @param int|null $storeId
1115
+ * @return string
1116
1116
*/
1117
- public function getRawSortingValue ($ storeId = null )
1117
+ public function getRawSortingValue (? int $ storeId = null ): string
1118
1118
{
1119
- return $ this ->configInterface ->getValue (
1119
+ return ( string ) $ this ->configInterface ->getValue (
1120
1120
self ::SORTING_INDICES ,
1121
1121
ScopeInterface::SCOPE_STORE ,
1122
1122
$ storeId
@@ -1155,7 +1155,7 @@ public function getCurrencyCode($storeId = null)
1155
1155
* @param $storeId
1156
1156
* @return bool
1157
1157
*/
1158
- public function isCustomerGroupsEnabled ($ storeId = null )
1158
+ public function isCustomerGroupsEnabled ($ storeId = null ): bool
1159
1159
{
1160
1160
return $ this ->configInterface ->isSetFlag (self ::CUSTOMER_GROUPS_ENABLE , ScopeInterface::SCOPE_STORE , $ storeId );
1161
1161
}
You can’t perform that action at this time.
0 commit comments