summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-03-12 12:20:39 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-03-16 12:44:11 +0100
commite518eacba6837a059381e1ffa2af4a10eba0e8ae (patch)
treed5757def7edac0c06035870340e64c6e58d5047c /lib/public
parent1a1dc9b3356ee9d8604aff3158bd854fbfeb49e4 (diff)
downloadnextcloud-server-e518eacba6837a059381e1ffa2af4a10eba0e8ae.tar.gz
nextcloud-server-e518eacba6837a059381e1ffa2af4a10eba0e8ae.zip
Add more type hinting
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/ipreview.php2
-rw-r--r--lib/public/preview/iprovider.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/ipreview.php b/lib/public/ipreview.php
index e1562bce58f..c1bc4cb680c 100644
--- a/lib/public/ipreview.php
+++ b/lib/public/ipreview.php
@@ -41,7 +41,7 @@ interface IPreview {
* In order to improve lazy loading a closure can be registered which will be
* called in case preview providers are actually requested
*
- * $callable has to return an instance of \OC\Preview\Provider
+ * $callable has to return an instance of \OCP\Preview\IProvider
*
* @param string $mimeTypeRegex Regex with the mime types that are supported by this provider
* @param \Closure $callable
diff --git a/lib/public/preview/iprovider.php b/lib/public/preview/iprovider.php
index 96bde3d5a26..74e5cca05d9 100644
--- a/lib/public/preview/iprovider.php
+++ b/lib/public/preview/iprovider.php
@@ -23,7 +23,7 @@ interface IProvider {
* @param \OCP\Files\FileInfo $file
* @return bool
*/
- public function isAvailable($file);
+ public function isAvailable(\OCP\Files\FileInfo $file);
/**
* get thumbnail for file at path $path