Skip to content

Commit 53591c6

Browse files
author
Oleksii Korshenko
authored
Merge pull request #876 from magento-engcom/develop-prs
Public Pull Requests #8513 #8668
2 parents da52d4a + 17b632e commit 53591c6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/code/Magento/Sales/Model/Service/OrderService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public function place(\Magento\Sales\Api\Data\OrderInterface $order)
210210
* @param string $comment
211211
* @param bool $isCustomerNotified
212212
* @param bool $shouldProtectState
213-
* @return \Magento\Sales\Model\Order
213+
* @return \Magento\Sales\Model\Service\OrderService
214214
* @throws \Magento\Framework\Exception\LocalizedException
215215
*/
216216
public function setState(

setup/src/Magento/Setup/Model/PhpInformation.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ public function getRequiredMinimumXDebugNestedLevel()
4545
public function getCurrent()
4646
{
4747
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());
4951
}
5052
return $this->current;
5153
}

0 commit comments

Comments
 (0)