Skip to content

Commit

Permalink
3.3.0: Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ébano Penha Andrello Lopes committed Apr 9, 2019
1 parent 614b837 commit 9d69474
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Model/Payment/DataMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function checkMethod(\Magento\Sales\Api\Data\OrderPaymentInterface $order
* @param \Magento\Sales\Model\Order $order
* @return string
*/
public final function getCode(\Magento\Sales\Model\Order $order)
final public function getCode(\Magento\Sales\Model\Order $order)
{
if ($this->getDataCalled) {
return null;
Expand All @@ -103,7 +103,7 @@ public final function getCode(\Magento\Sales\Model\Order $order)
* @param \Magento\Sales\Model\Order $order
* @return string
*/
public final function getData(\Magento\Sales\Model\Order $order)
final public function getData(\Magento\Sales\Model\Order $order)
{
$this->checkMethod($order->getPayment());
return $this->getPaymentData($order);
Expand Down
2 changes: 1 addition & 1 deletion Plugin/Magento/Sales/Model/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function beforeSetState(\Magento\Sales\Model\Order $subject, $state)
$debugBacktraceLog = implode("\n", $debugBacktraceLog);
$this->logger->debug("Backtrace: \n{$debugBacktraceLog}\n\n");
}
} catch (Exception $e) {
} catch (\Exception $e) {
$this->logger('Exception logging order state change: ' . $e->getMessage());
}

Expand Down

0 comments on commit 9d69474

Please sign in to comment.