@@ -67,9 +67,9 @@ |
||
67 | 67 | if (!function_exists('display_penalize_time')) { |
68 | 68 | function display_penalize_time($seconds) |
69 | 69 | { |
70 | - $hour = (int)($seconds / (Carbon::SECONDS_PER_MINUTE * Carbon::MINUTES_PER_HOUR)); |
|
70 | + $hour = (int) ($seconds / (Carbon::SECONDS_PER_MINUTE * Carbon::MINUTES_PER_HOUR)); |
|
71 | 71 | $seconds -= $hour * Carbon::SECONDS_PER_MINUTE * Carbon::MINUTES_PER_HOUR; |
72 | - $minute = (int)($seconds / Carbon::SECONDS_PER_MINUTE); |
|
72 | + $minute = (int) ($seconds / Carbon::SECONDS_PER_MINUTE); |
|
73 | 73 | $leftSeconds = $seconds % Carbon::SECONDS_PER_MINUTE; |
74 | 74 | |
75 | 75 | return sprintf('%d:%02d:%02d', $hour, $minute, $leftSeconds); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | if ($problem) { |
41 | 41 | $dp = app(DataProvider::class); |
42 | 42 | |
43 | - $path = $dp->getDataPath($id) . $name; |
|
43 | + $path = $dp->getDataPath($id).$name; |
|
44 | 44 | return response()->download($path, $name); |
45 | 45 | } |
46 | 46 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | |
64 | 64 | /** @var $result Team[] */ |
65 | 65 | $result = array_values($this->teams); |
66 | - usort($result, function ($team1, $team2) { |
|
66 | + usort($result, function($team1, $team2) { |
|
67 | 67 | return !$this->isBetter($team1, $team2); |
68 | 68 | }); |
69 | 69 |
@@ -73,7 +73,7 @@ |
||
73 | 73 | */ |
74 | 74 | public function isSpecialJudge() |
75 | 75 | { |
76 | - return (int)$this->spj === 1; |
|
76 | + return (int) $this->spj === 1; |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |