Completed
Push — master ( 3a0c9c...9f512c )
by Jeff
08:43
created
models/types/Agenda.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
         foreach ($agenda['events'] as $day => $events) {
164 164
             // Sort by desc first line
165
-            usort($events, function ($a, $b) {
165
+            usort($events, function($a, $b) {
166 166
                 return strcmp($a['desc'][0], $b['desc'][0]);
167 167
             });
168 168
 
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
                     'right' => ((1 - ($e['position'] + 1) / $e['overlaps']) * 100).'%',
391 391
                     'background-color' => $this->getColor($e['desc'][0]),
392 392
                 ];
393
-                $styleStr = implode('; ', array_map(function ($k, $v) {
393
+                $styleStr = implode('; ', array_map(function($k, $v) {
394 394
                     return $k.':'.$v;
395 395
                 }, array_keys($style), $style));
396 396
 
Please login to merge, or discard this patch.