@@ -89,7 +89,7 @@ |
||
89 | 89 | } |
90 | 90 | } |
91 | 91 | |
92 | - $this->io->write('Connecting the "' . $channel->getName() . '" store with is_syncing = '.($isSyncing?'true':'false').'...'); |
|
92 | + $this->io->write('Connecting the "' . $channel->getName() . '" store with is_syncing = ' . ($isSyncing ? 'true' : 'false') . '...'); |
|
93 | 93 | |
94 | 94 | try { |
95 | 95 | $response = $this->storeRegisterHandler->register($channel, $isSyncing); |
@@ -107,7 +107,7 @@ |
||
107 | 107 | /** @var ChannelInterface|null $subscribedChannel */ |
108 | 108 | $subscribedChannel = null; |
109 | 109 | try { |
110 | - $subscribedChannel = (true === $customer->isSubscribedToNewsletter())?$this->channelContext->getChannel():null; |
|
110 | + $subscribedChannel = (true === $customer->isSubscribedToNewsletter()) ? $this->channelContext->getChannel() : null; |
|
111 | 111 | } catch (\Exception $e) {} |
112 | 112 | |
113 | 113 | $channels = $this->channelRepository->findAll(); |
@@ -100,7 +100,7 @@ |
||
100 | 100 | |
101 | 101 | $lastCompletedPayment = $order->getLastPayment(PaymentInterface::STATE_COMPLETED); |
102 | 102 | /** @var \DateTime $orderCompletedDate */ |
103 | - $orderCompletedDate = $lastCompletedPayment?$lastCompletedPayment->getUpdatedAt():$order->getUpdatedAt(); |
|
103 | + $orderCompletedDate = $lastCompletedPayment ? $lastCompletedPayment->getUpdatedAt() : $order->getUpdatedAt(); |
|
104 | 104 | |
105 | 105 | $data = [ |
106 | 106 | 'id' => $orderId, |