We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 460c565 commit 3378570Copy full SHA for 3378570
apps/files/tests/Command/DeleteOrphanedFilesTest.php
@@ -70,7 +70,7 @@ protected function getMountsCount(int $storageId): int {
70
$query->select($query->func()->count('*'))
71
->from('mounts')
72
->where($query->expr()->eq('storage_id', $query->createNamedParameter($storageId)));
73
- return $query->executeQuery()->fetchOne();
+ return (int)$query->executeQuery()->fetchOne();
74
}
75
76
/**
0 commit comments