X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FEntity%2FKeyValueStore%2FQuery%2FQuery.php;h=7a0309262514b24cc2d9d41d17a726658c319e55;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=3f7a6a616a28da74c576ca28144b228472257e2a;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php b/web/core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php index 3f7a6a616..7a0309262 100644 --- a/web/core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php +++ b/web/core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php @@ -50,7 +50,7 @@ class Query extends QueryBase { foreach ($this->sort as $sort) { $direction = $sort['direction'] == 'ASC' ? -1 : 1; $field = $sort['field']; - uasort($result, function($a, $b) use ($field, $direction) { + uasort($result, function ($a, $b) use ($field, $direction) { return ($a[$field] <= $b[$field]) ? $direction : -$direction; }); }