mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
run lint
This commit is contained in:
parent
3e22e36a79
commit
7320711a36
23 changed files with 36 additions and 81 deletions
|
|
@ -4,10 +4,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Demostf\API\Providers;
|
||||
|
||||
use Doctrine\DBAL\Connection;
|
||||
use const DATE_ATOM;
|
||||
use Demostf\API\Data\DemoPlayer;
|
||||
use Demostf\API\Demo\Demo;
|
||||
use Doctrine\DBAL\Connection;
|
||||
use PDO;
|
||||
|
||||
class DemoProvider extends BaseProvider {
|
||||
|
|
@ -43,7 +43,7 @@ class DemoProvider extends BaseProvider {
|
|||
WHERE demo_id = ?';
|
||||
|
||||
$demo = $this->fetchDemo($id);
|
||||
if ($demo === null) {
|
||||
if (null === $demo) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue