Skip to content

Commit 4b66ef6

Browse files
committed
fix: immediately return value
1 parent 1a805d0 commit 4b66ef6

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/AdminNotification/Model/ResourceModel

1 file changed

+1
-2
lines changed

app/code/Magento/AdminNotification/Model/ResourceModel/Inbox.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ public function getNoticeStatus(\Magento\AdminNotification\Model\Inbox $object)
7777
'is_read=?',
7878
0
7979
);
80-
$return = $connection->fetchPairs($select);
81-
return $return;
80+
return $connection->fetchPairs($select);
8281
}
8382

8483
/**

0 commit comments

Comments
 (0)