diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-10-18 14:15:03 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-10-23 23:23:56 +0200 |
commit | 4cfa1c66b899a2fa108108a092fe671d52370150 (patch) | |
tree | a1caa2492d23b050abcc74bba708c4dc04741d6c /lib | |
parent | 8062547e669f548e80befef9cd9f77d090978404 (diff) | |
download | nextcloud-server-4cfa1c66b899a2fa108108a092fe671d52370150.tar.gz nextcloud-server-4cfa1c66b899a2fa108108a092fe671d52370150.zip |
Doc: Fix phpDoc issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/App/AppManager.php | 2 | ||||
-rw-r--r-- | lib/private/AppFramework/Http.php | 2 | ||||
-rw-r--r-- | lib/private/Command/QueueBus.php | 2 | ||||
-rw-r--r-- | lib/private/Files/FileInfo.php | 2 | ||||
-rw-r--r-- | lib/private/Group/Manager.php | 3 | ||||
-rw-r--r-- | lib/private/Installer.php | 1 | ||||
-rw-r--r-- | lib/private/Setup.php | 1 | ||||
-rw-r--r-- | lib/private/Share20/Manager.php | 2 | ||||
-rw-r--r-- | lib/private/Tags.php | 2 | ||||
-rw-r--r-- | lib/private/legacy/image.php | 2 | ||||
-rw-r--r-- | lib/private/legacy/template/functions.php | 2 | ||||
-rw-r--r-- | lib/public/AppFramework/Http/DataDisplayResponse.php | 2 | ||||
-rw-r--r-- | lib/public/Files/FileInfo.php | 2 | ||||
-rw-r--r-- | lib/public/Util.php | 2 |
14 files changed, 12 insertions, 15 deletions
diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index 7c861597c77..3b5edaabfdd 100644 --- a/lib/private/App/AppManager.php +++ b/lib/private/App/AppManager.php @@ -4,7 +4,7 @@ * * @author Arthur Schiwon <blizzz@arthur-schiwon.de> * @author Bjoern Schiessle <bjoern@schiessle.org> - * @author Christoph Schaefer <christophł@wolkesicher.de> + * @author Christoph Schaefer <christoph@wolkesicher.de> * @author Christoph Wurst <christoph@owncloud.com> * @author Joas Schilling <coding@schilljs.com> * @author Lukas Reschke <lukas@statuscode.ch> diff --git a/lib/private/AppFramework/Http.php b/lib/private/AppFramework/Http.php index 526509a4583..be1e178a05f 100644 --- a/lib/private/AppFramework/Http.php +++ b/lib/private/AppFramework/Http.php @@ -111,7 +111,7 @@ class Http extends BaseHttp { /** * Gets the correct header - * @param Http::CONSTANT $status the constant from the Http class + * @param int Http::CONSTANT $status the constant from the Http class * @param \DateTime $lastModified formatted last modified date * @param string $ETag the etag * @return string diff --git a/lib/private/Command/QueueBus.php b/lib/private/Command/QueueBus.php index 7f2fc88a703..30cdd7740a9 100644 --- a/lib/private/Command/QueueBus.php +++ b/lib/private/Command/QueueBus.php @@ -27,7 +27,7 @@ use OCP\Command\ICommand; class QueueBus implements IBus { /** - * @var (ICommand|callable)[] + * @var ICommand[]|callable[] */ private $queue = []; diff --git a/lib/private/Files/FileInfo.php b/lib/private/Files/FileInfo.php index f5a44ba02ea..7ac0c6e49d5 100644 --- a/lib/private/Files/FileInfo.php +++ b/lib/private/Files/FileInfo.php @@ -232,7 +232,7 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess { } /** - * @return \OCP\Files\FileInfo::TYPE_FILE|\OCP\Files\FileInfo::TYPE_FOLDER + * @return string \OCP\Files\FileInfo::TYPE_FILE|\OCP\Files\FileInfo::TYPE_FOLDER */ public function getType() { if (!isset($this->data['type'])) { diff --git a/lib/private/Group/Manager.php b/lib/private/Group/Manager.php index 15d83380acf..ced1c796982 100644 --- a/lib/private/Group/Manager.php +++ b/lib/private/Group/Manager.php @@ -15,14 +15,13 @@ * @author Roeland Jago Douma <roeland@famdouma.nl> * @author Roman Kreisel <mail@romankreisel.de> * @author Thomas Müller <thomas.mueller@tmit.eu> - * @author voxsim <Simon Vocella> + * @author Simon Vocella * * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. - * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/lib/private/Installer.php b/lib/private/Installer.php index d5082a7fad2..ffde8b1b2f2 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -19,7 +19,6 @@ * @author Morris Jobke <hey@morrisjobke.de> * @author Robin Appelman <robin@icewind.nl> * @author Roeland Jago Douma <roeland@famdouma.nl> - * @author root <root@oc.(none)> * @author Thomas Müller <thomas.mueller@tmit.eu> * @author Thomas Tanghus <thomas@tanghus.net> * diff --git a/lib/private/Setup.php b/lib/private/Setup.php index 5228d52b05f..3659d785b22 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -2,7 +2,6 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * - * @author Administrator <Administrator@WINDOWS-2012> * @author Arthur Schiwon <blizzz@arthur-schiwon.de> * @author Bart Visscher <bartv@thisnet.nl> * @author Bernhard Posselt <dev@bernhard-posselt.com> diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 42f2170122e..bcef85bd17a 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -1395,7 +1395,7 @@ class Manager implements IManager { /** * Create a new share - * @return \OCP\Share\IShare; + * @return \OCP\Share\IShare */ public function newShare() { return new \OC\Share20\Share($this->rootFolder, $this->userManager); diff --git a/lib/private/Tags.php b/lib/private/Tags.php index b63435ff838..1947f0c07e6 100644 --- a/lib/private/Tags.php +++ b/lib/private/Tags.php @@ -140,7 +140,7 @@ class Tags implements \OCP\ITags { /** * Check if any tags are saved for this type and user. * - * @return boolean. + * @return boolean */ public function isEmpty() { return count($this->tags) === 0; diff --git a/lib/private/legacy/image.php b/lib/private/legacy/image.php index 120b19d1cff..cd5ca7bb5ce 100644 --- a/lib/private/legacy/image.php +++ b/lib/private/legacy/image.php @@ -431,7 +431,7 @@ class OC_Image implements \OCP\IImage { * (I'm open for suggestions on better method name ;) * Fixes orientation based on EXIF data. * - * @return bool. + * @return bool */ public function fixOrientation() { $o = $this->getOrientation(); diff --git a/lib/private/legacy/template/functions.php b/lib/private/legacy/template/functions.php index bca16b48c1a..1ef3541e880 100644 --- a/lib/private/legacy/template/functions.php +++ b/lib/private/legacy/template/functions.php @@ -278,7 +278,7 @@ function human_file_size( $bytes ) { /** * Strips the timestamp of its time value * @param int $timestamp UNIX timestamp to strip - * @return $timestamp without time value + * @return int timestamp without time value */ function strip_time($timestamp){ $date = new \DateTime("@{$timestamp}"); diff --git a/lib/public/AppFramework/Http/DataDisplayResponse.php b/lib/public/AppFramework/Http/DataDisplayResponse.php index 820e00ff963..cfc4bd494f2 100644 --- a/lib/public/AppFramework/Http/DataDisplayResponse.php +++ b/lib/public/AppFramework/Http/DataDisplayResponse.php @@ -35,7 +35,7 @@ class DataDisplayResponse extends Response { /** * response data - * @var string; + * @var string */ protected $data; diff --git a/lib/public/Files/FileInfo.php b/lib/public/Files/FileInfo.php index f0f21087bbe..0b90fb8fbf2 100644 --- a/lib/public/Files/FileInfo.php +++ b/lib/public/Files/FileInfo.php @@ -174,7 +174,7 @@ interface FileInfo { /** * Check whether this is a file or a folder * - * @return \OCP\Files\FileInfo::TYPE_FILE|\OCP\Files\FileInfo::TYPE_FOLDER + * @return string \OCP\Files\FileInfo::TYPE_FILE|\OCP\Files\FileInfo::TYPE_FOLDER * @since 7.0.0 */ public function getType(); diff --git a/lib/public/Util.php b/lib/public/Util.php index e4ebdb5bfa7..04cdfe216d0 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -670,7 +670,7 @@ class Util { * Compare two strings to provide a natural sort * @param string $a first string to compare * @param string $b second string to compare - * @return -1 if $b comes before $a, 1 if $a comes before $b + * @return int -1 if $b comes before $a, 1 if $a comes before $b * or 0 if the strings are identical * @since 7.0.0 */ |