summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-12 23:56:31 +0100
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-13 19:09:14 +0100
commit4755392c65ba707d0dbf25c862e766fc2b31d3f3 (patch)
tree20227bc3ca9fdcf0ad741c733ee9623f3cfd489d /lib
parentf7e777f7d2fc330dbf55c0190b5e0071c8f997ac (diff)
downloadnextcloud-server-4755392c65ba707d0dbf25c862e766fc2b31d3f3.tar.gz
nextcloud-server-4755392c65ba707d0dbf25c862e766fc2b31d3f3.zip
More PHPDoc for file functions
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/stream/oc.php8
-rw-r--r--lib/private/files/view.php4
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/private/files/stream/oc.php b/lib/private/files/stream/oc.php
index 88e7e062df9..c206b41f55e 100644
--- a/lib/private/files/stream/oc.php
+++ b/lib/private/files/stream/oc.php
@@ -18,7 +18,15 @@ class OC {
static private $rootView;
private $path;
+
+ /**
+ * @var resource
+ */
private $dirSource;
+
+ /**
+ * @var resource
+ */
private $fileSource;
private $meta;
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 1f424757bb8..3b99bd12b8a 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -168,6 +168,10 @@ class View {
}
}
+ /**
+ * @param string $path
+ * @return resource
+ */
public function opendir($path) {
return $this->basicOperation('opendir', $path, array('read'));
}