Skip to content

Commit 8e3bb74

Browse files
committed
Remove more whitespace at end of line in PHPDoc blocks
1 parent fd179ea commit 8e3bb74

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

app/code/Magento/Customer/Model/Plugin/CustomerNotification.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function __construct(
7777

7878
/**
7979
* Refresh the customer session on frontend post requests if an update session notification is registered.
80-
*
80+
*
8181
* @param ActionInterface $subject
8282
* @return void
8383
* @throws \Magento\Framework\Exception\LocalizedException
@@ -87,8 +87,7 @@ public function beforeExecute(ActionInterface $subject)
8787
{
8888
$customerId = $this->session->getCustomerId();
8989

90-
if ($this->isFrontendRequest() && $this->isPostRequest() && $this->isSessionUpdateRegisteredFor($customerId))
91-
{
90+
if ($this->isFrontendRequest() && $this->isPostRequest() && $this->isSessionUpdateRegisteredFor($customerId)) {
9291
try {
9392
$customer = $this->customerRepository->getById($customerId);
9493
$this->session->setCustomerData($customer);
@@ -103,7 +102,7 @@ public function beforeExecute(ActionInterface $subject)
103102

104103
/**
105104
* Because RequestInterface has no isPost method the check is requied before calling it.
106-
*
105+
*
107106
* @return bool
108107
*/
109108
private function isPostRequest(): bool
@@ -113,7 +112,7 @@ private function isPostRequest(): bool
113112

114113
/**
115114
* Check if the current application area is frontend.
116-
*
115+
*
117116
* @return bool
118117
* @throws \Magento\Framework\Exception\LocalizedException
119118
*/
@@ -124,7 +123,7 @@ private function isFrontendRequest(): bool
124123

125124
/**
126125
* True if the session for the given customer ID needs to be refreshed.
127-
*
126+
*
128127
* @param int $customerId
129128
* @return bool
130129
*/

0 commit comments

Comments
 (0)