Skip to content

Commit e1694d7

Browse files
committed
MAGETWO-34361: Pull request processing
1 parent 16bd2a0 commit e1694d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Customer/Model/Logger.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ public function log($customerId, array $data)
7272
*/
7373
public function get($customerId = null)
7474
{
75-
if (null !== $customerId) {
76-
$data = $this->loadLogData($customerId);
77-
}
75+
$data = (null !== $customerId) ? $this->loadLogData($customerId) : [];
7876

7977
return $this->logFactory->create(
8078
[

0 commit comments

Comments
 (0)