We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c193a0a commit 05252bcCopy full SHA for 05252bc
app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/History.php
@@ -109,7 +109,7 @@ public function getFullHistory()
109
);
110
}
111
112
- usort($history, $this->_sortHistoryByTimestamp(...));
+ usort($history, [self::class, '_sortHistoryByTimestamp']);
113
return $history;
114
115
@@ -284,7 +284,7 @@ public function isCustomerNotificationNotApplicable($historyItem)
284
* @return int
285
*/
286
// phpcs:ignore Ecg.PHP.PrivateClassMember.PrivateClassMemberError
287
- private function _sortHistoryByTimestamp($a, $b)
+ private static function _sortHistoryByTimestamp($a, $b)
288
{
289
$createdAtA = $a['created_at'];
290
$createdAtB = $b['created_at'];
0 commit comments