Passed
Push — master ( 2c5565...ba7598 )
by Florent
02:32
created
src/Controllers/CommonController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,8 +142,8 @@
 block discarded – undo
142 142
         $file = $this->app->get('blogfile');
143 143
         $data = json_decode(file_get_contents($file), true);
144 144
 
145
-        uasort($data, function ($a, $b) {
146
-            if(strpos($a['body'],'cross post') === false) {
145
+        uasort($data, function($a, $b) {
146
+            if (strpos($a['body'], 'cross post') === false) {
147 147
                 $a = count($a['active_votes']);
148 148
                 $b = count($b['active_votes']);
149 149
                 return ($a == $b) ? 0 : (($a > $b) ? -1 : 1);
Please login to merge, or discard this patch.