From b3a04840b54464457298807d6609d525d68d8953 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Fri, 24 Oct 2014 14:13:40 +0200 Subject: Add type hinting to functions It's only reasonable to have proper type hinting here which might even help us to catch bugs. --- lib/private/files/mount/manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/files/mount') 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; } -- cgit v1.2.3