@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | $versions = array_map('trim', explode(',', $versions)); |
382 | 382 | } |
383 | 383 | if (!empty($versions[0]['name'])) { |
384 | - $versions = array_map(function ($version) { |
|
384 | + $versions = array_map(function($version) { |
|
385 | 385 | return $version['name']; |
386 | 386 | }, $versions); |
387 | 387 | } |
@@ -409,7 +409,7 @@ discard block |
||
409 | 409 | if (!$util->isValidTimeStamp($updated)) { |
410 | 410 | $updated = strtotime($updated); |
411 | 411 | } |
412 | - $this->updated = (int)$updated; |
|
412 | + $this->updated = (int) $updated; |
|
413 | 413 | return $this; |
414 | 414 | } |
415 | 415 | |
@@ -690,7 +690,7 @@ discard block |
||
690 | 690 | private function calculateColor($color) |
691 | 691 | { |
692 | 692 | /** @noinspection PrintfScanfArgumentsInspection */ |
693 | - list($r, $g, $b) = array_map(function ($color8bit) { |
|
693 | + list($r, $g, $b) = array_map(function($color8bit) { |
|
694 | 694 | $c = $color8bit / 255; |
695 | 695 | if ($c <= 0.03928) { |
696 | 696 | $cl = $c / 12.92; |