1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 18:04:08 +02:00

php 8 compat

This commit is contained in:
Robin Appelman 2021-02-16 18:35:37 +01:00
commit 47cdcaa00b
9 changed files with 260 additions and 93 deletions

View file

@ -6,6 +6,7 @@ namespace Demostf\API\Test;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\DriverManager;
use SteamCondenser\Community\SteamId;
abstract class TestCase extends \PHPUnit\Framework\TestCase {
/** @var Connection */
@ -60,6 +61,6 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase {
}
protected function getSteamId($steamId, $_name) {
return new \SteamId($steamId, false);
return new SteamId($steamId);
}
}