1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 09:54:17 +02:00

fmt, typings, typos

This commit is contained in:
Robin Appelman 2022-05-16 00:51:50 +02:00
commit 7de4c35ab4
34 changed files with 644 additions and 1048 deletions

View file

@ -12,7 +12,7 @@ class ChatProviderTest extends TestCase {
/** @var ChatProvider */
private $provider;
public function setUp(): void {
protected function setUp(): void {
parent::setUp();
$this->provider = new ChatProvider($this->getDatabaseConnection());

View file

@ -22,7 +22,7 @@ class DemoListProviderTest extends TestCase {
/** @var UserProvider */
private $userProvider;
public function setUp(): void {
protected function setUp(): void {
parent::setUp();
$this->demoListProvider = new DemoListProvider($this->getDatabaseConnection());

View file

@ -22,7 +22,7 @@ class DemoProviderTest extends TestCase {
/** @var PlayerProvider */
private $playerProvider;
public function setUp(): void {
protected function setUp(): void {
parent::setUp();
$this->userProvider = new UserProvider($this->getDatabaseConnection(), $this->getRandomGenerator());

View file

@ -49,7 +49,7 @@ class UploadProviderTest extends TestCase {
/**
* @throws ReflectionException
*/
public function setUp(): void {
protected function setUp(): void {
parent::setUp();
$this->rawParser = $this->getMockBuilder(RawParser::class)
@ -111,7 +111,7 @@ class UploadProviderTest extends TestCase {
rmdir($dir);
}
public function tearDown(): void {
protected function tearDown(): void {
$this->rmdirr($this->tmpDir);
parent::tearDown();

View file

@ -19,7 +19,7 @@ class UserProviderTest extends TestCase {
/** @var SteamId */
private $steamId;
public function setUp(): void {
protected function setUp(): void {
parent::setUp();
$this->steamId = $this->getSteamId('76561198024494988', 'Icewind');