From 281e059487d3633ac1d553751d267a8a50d3e477 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Sun, 23 Feb 2020 01:28:30 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/core/class/commondocgenerator.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php index 2517e5f4709..9f3502c1836 100644 --- a/htdocs/core/class/commondocgenerator.class.php +++ b/htdocs/core/class/commondocgenerator.class.php @@ -1219,9 +1219,9 @@ abstract class CommonDocGenerator if(!empty($fields)) { - uasort($fields, function($a, $b){ + uasort($fields, function ($a, $b) { return ($a->rank > $b->rank) ? -1 : 1; - } + } ); foreach ($fields as $field){