mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 10:24:07 +02:00
php 8 compat
This commit is contained in:
parent
1da2fa48fa
commit
47cdcaa00b
9 changed files with 260 additions and 93 deletions
|
|
@ -74,7 +74,7 @@ class DemoProvider extends BaseProvider {
|
|||
->from('demos')
|
||||
->where($query->expr()->eq('hash', $query->createNamedParameter($hash)));
|
||||
|
||||
return (int) $query->execute()->fetchColumn();
|
||||
return (int) $query->execute()->fetchOne();
|
||||
}
|
||||
|
||||
public function storeDemo(Demo $demo, string $backend, string $path): int {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue