mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 09:54:17 +02:00
run lint
This commit is contained in:
parent
3e22e36a79
commit
7320711a36
23 changed files with 36 additions and 81 deletions
|
|
@ -32,7 +32,7 @@ class DemoListProviderTest extends TestCase {
|
|||
}
|
||||
|
||||
private function getDemo(int $uploaderId, $map = 'map', $playerCount = 18, int $time = null) {
|
||||
$time = is_null($time) ? new \DateTime() : \DateTime::createFromFormat('U', (string) $time);
|
||||
$time = null === $time ? new \DateTime() : \DateTime::createFromFormat('U', (string) $time);
|
||||
|
||||
return new Demo(
|
||||
0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue