[Pkg-owncloud-commits] [owncloud] 111/172: More PHPDoc for file functions

David Prévot taffit at moszumanska.debian.org
Sun May 18 20:09:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 4755392c65ba707d0dbf25c862e766fc2b31d3f3
Author: Robin McCorkell <rmccorkell at karoshi.org.uk>
Date:   Mon May 12 23:56:31 2014 +0100

    More PHPDoc for file functions
---
 lib/private/files/stream/oc.php | 8 ++++++++
 lib/private/files/view.php      | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/lib/private/files/stream/oc.php b/lib/private/files/stream/oc.php
index 88e7e06..c206b41 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 1f42475..3b99bd1 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'));
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list