We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -24,8 +24,7 @@ |
||
| 24 | 24 | $newID = $dbResult->record()->getInt('max_game_id') + 1; |
| 25 | 25 | |
| 26 | 26 | $join = new DateTime(Request::get('game_join')); |
| 27 | - $start = empty(Request::get('game_start')) ? $join : |
|
| 28 | - new DateTime(Request::get('game_start')); |
|
| 27 | + $start = empty(Request::get('game_start')) ? $join : new DateTime(Request::get('game_start')); |
|
| 29 | 28 | $end = new DateTime(Request::get('game_end')); |
| 30 | 29 | |
| 31 | 30 | $game = SmrGame::createGame($newID); |
@@ -17,8 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | public function build(SmrAccount $account): never { |
| 19 | 19 | $join = new DateTime(Request::get('game_join')); |
| 20 | - $start = empty(Request::get('game_start')) ? $join : |
|
| 21 | - new DateTime(Request::get('game_start')); |
|
| 20 | + $start = empty(Request::get('game_start')) ? $join : new DateTime(Request::get('game_start')); |
|
| 22 | 21 | $end = new DateTime(Request::get('game_end')); |
| 23 | 22 | |
| 24 | 23 | $game = SmrGame::getGame($this->gameID); |