summaryrefslogtreecommitdiffstats
path: root/lib/private/files/mount
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-24 14:13:40 +0200
committerLukas Reschke <lukas@owncloud.com>2014-10-24 14:13:40 +0200
commitb3a04840b54464457298807d6609d525d68d8953 (patch)
tree408d7c8103a788cbb7c714f64649be180f54ed4d /lib/private/files/mount
parent77b8e1543a697dbc5fad0bdbbc6bb6c271448066 (diff)
downloadnextcloud-server-b3a04840b54464457298807d6609d525d68d8953.tar.gz
nextcloud-server-b3a04840b54464457298807d6609d525d68d8953.zip
Add type hinting to functions
It's only reasonable to have proper type hinting here which might even help us to catch bugs.
Diffstat (limited to 'lib/private/files/mount')
-rw-r--r--lib/private/files/mount/manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/mount/manager.php b/lib/private/files/mount/manager.php
index e5180cfe173..0ccf42941de 100644
--- a/lib/private/files/mount/manager.php
+++ b/lib/private/files/mount/manager.php
@@ -19,7 +19,7 @@ class Manager {
/**
* @param Mount $mount
*/
- public function addMount($mount) {
+ public function addMount(Mount $mount) {
$this->mounts[$mount->getMountPoint()] = $mount;
}