mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
stricter cs
This commit is contained in:
parent
309ae17036
commit
d9a843ecd6
54 changed files with 346 additions and 168 deletions
|
|
@ -1,4 +1,6 @@
|
|||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Demostf\API\Providers;
|
||||
|
||||
|
|
@ -16,10 +18,10 @@ class PlayerProvider extends BaseProvider {
|
|||
'team' => $query->createNamedParameter($player->getTeam()),
|
||||
'class' => $query->createNamedParameter($player->getClass()),
|
||||
'created_at' => 'now()',
|
||||
'updated_at' => 'now()'
|
||||
'updated_at' => 'now()',
|
||||
]);
|
||||
$query->execute();
|
||||
|
||||
return (int)$this->connection->lastInsertId();
|
||||
return (int) $this->connection->lastInsertId();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue