diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-10-24 14:13:40 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-10-24 14:13:40 +0200 |
commit | b3a04840b54464457298807d6609d525d68d8953 (patch) | |
tree | 408d7c8103a788cbb7c714f64649be180f54ed4d /lib/private/files.php | |
parent | 77b8e1543a697dbc5fad0bdbbc6bb6c271448066 (diff) | |
download | nextcloud-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.php')
-rw-r--r-- | lib/private/files.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files.php b/lib/private/files.php index a983f6f32f5..571d3215caa 100644 --- a/lib/private/files.php +++ b/lib/private/files.php @@ -195,7 +195,7 @@ class OC_Files { * @param ZipStreamer $zip * @param string $internalDir */ - public static function zipAddDir($dir, $zip, $internalDir='') { + public static function zipAddDir($dir, ZipStreamer $zip, $internalDir='') { $dirname=basename($dir); $rootDir = $internalDir.$dirname; if (!empty($rootDir)) { |