summaryrefslogtreecommitdiffstats
path: root/lib/private/preview/txt.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/preview/txt.php')
-rw-r--r--lib/private/preview/txt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/txt.php b/lib/private/preview/txt.php
index 8b414dc5726..772b56c72cc 100644
--- a/lib/private/preview/txt.php
+++ b/lib/private/preview/txt.php
@@ -18,7 +18,7 @@ class TXT extends Provider {
/**
* {@inheritDoc}
*/
- public function isAvailable($file) {
+ public function isAvailable(\OCP\Files\FileInfo $file) {
return $file->getSize() > 5;
}