Skip to content

Commit

Permalink
Merge pull request #876 from magento-engcom/develop-prs
Browse files Browse the repository at this point in the history
Public Pull Requests

#8513
#8668
  • Loading branch information
Oleksii Korshenko authored Feb 25, 2017
2 parents da52d4a + 17b632e commit 53591c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Model/Service/OrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public function place(\Magento\Sales\Api\Data\OrderInterface $order)
* @param string $comment
* @param bool $isCustomerNotified
* @param bool $shouldProtectState
* @return \Magento\Sales\Model\Order
* @return \Magento\Sales\Model\Service\OrderService
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function setState(
Expand Down
4 changes: 3 additions & 1 deletion setup/src/Magento/Setup/Model/PhpInformation.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ public function getRequiredMinimumXDebugNestedLevel()
public function getCurrent()
{
if (!$this->current) {
$this->current = array_map('strtolower', get_loaded_extensions());
$this->current = array_map(function ($ext) {
return str_replace(' ', '-', strtolower($ext));
}, get_loaded_extensions());
}
return $this->current;
}
Expand Down

0 comments on commit 53591c6

Please sign in to comment.