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:
parent
1da2fa48fa
commit
47cdcaa00b
9 changed files with 260 additions and 93 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue