File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/Sales/Model/Service
setup/src/Magento/Setup/Model Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ public function place(\Magento\Sales\Api\Data\OrderInterface $order)
210
210
* @param string $comment
211
211
* @param bool $isCustomerNotified
212
212
* @param bool $shouldProtectState
213
- * @return \Magento\Sales\Model\Order
213
+ * @return \Magento\Sales\Model\Service\OrderService
214
214
* @throws \Magento\Framework\Exception\LocalizedException
215
215
*/
216
216
public function setState (
Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ public function getRequiredMinimumXDebugNestedLevel()
45
45
public function getCurrent ()
46
46
{
47
47
if (!$ this ->current ) {
48
- $ this ->current = array_map ('strtolower ' , get_loaded_extensions ());
48
+ $ this ->current = array_map (function ($ ext ) {
49
+ return str_replace (' ' , '- ' , strtolower ($ ext ));
50
+ }, get_loaded_extensions ());
49
51
}
50
52
return $ this ->current ;
51
53
}
You can’t perform that action at this time.
0 commit comments