1
0
Fork 0
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:
Robin Appelman 2021-02-16 18:35:37 +01:00
commit 47cdcaa00b
9 changed files with 260 additions and 93 deletions

View file

@ -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 {