Doc: Fix phpDoc issues

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2017-10-18 14:15:03 +02:00
parent 8062547e66
commit 4cfa1c66b8
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
14 changed files with 12 additions and 15 deletions

View File

@ -4,7 +4,7 @@
* *
* @author Arthur Schiwon <blizzz@arthur-schiwon.de> * @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Bjoern Schiessle <bjoern@schiessle.org> * @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 Christoph Wurst <christoph@owncloud.com>
* @author Joas Schilling <coding@schilljs.com> * @author Joas Schilling <coding@schilljs.com>
* @author Lukas Reschke <lukas@statuscode.ch> * @author Lukas Reschke <lukas@statuscode.ch>

View File

@ -111,7 +111,7 @@ class Http extends BaseHttp {
/** /**
* Gets the correct header * 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 \DateTime $lastModified formatted last modified date
* @param string $ETag the etag * @param string $ETag the etag
* @return string * @return string

View File

@ -27,7 +27,7 @@ use OCP\Command\ICommand;
class QueueBus implements IBus { class QueueBus implements IBus {
/** /**
* @var (ICommand|callable)[] * @var ICommand[]|callable[]
*/ */
private $queue = []; private $queue = [];

View File

@ -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() { public function getType() {
if (!isset($this->data['type'])) { if (!isset($this->data['type'])) {

View File

@ -15,14 +15,13 @@
* @author Roeland Jago Douma <roeland@famdouma.nl> * @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Roman Kreisel <mail@romankreisel.de> * @author Roman Kreisel <mail@romankreisel.de>
* @author Thomas Müller <thomas.mueller@tmit.eu> * @author Thomas Müller <thomas.mueller@tmit.eu>
* @author voxsim <Simon Vocella> * @author Simon Vocella
* *
* @license AGPL-3.0 * @license AGPL-3.0
* *
* This code is free software: you can redistribute it and/or modify * 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, * it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation. * as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

View File

@ -19,7 +19,6 @@
* @author Morris Jobke <hey@morrisjobke.de> * @author Morris Jobke <hey@morrisjobke.de>
* @author Robin Appelman <robin@icewind.nl> * @author Robin Appelman <robin@icewind.nl>
* @author Roeland Jago Douma <roeland@famdouma.nl> * @author Roeland Jago Douma <roeland@famdouma.nl>
* @author root <root@oc.(none)>
* @author Thomas Müller <thomas.mueller@tmit.eu> * @author Thomas Müller <thomas.mueller@tmit.eu>
* @author Thomas Tanghus <thomas@tanghus.net> * @author Thomas Tanghus <thomas@tanghus.net>
* *

View File

@ -2,7 +2,6 @@
/** /**
* @copyright Copyright (c) 2016, ownCloud, Inc. * @copyright Copyright (c) 2016, ownCloud, Inc.
* *
* @author Administrator <Administrator@WINDOWS-2012>
* @author Arthur Schiwon <blizzz@arthur-schiwon.de> * @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Bart Visscher <bartv@thisnet.nl> * @author Bart Visscher <bartv@thisnet.nl>
* @author Bernhard Posselt <dev@bernhard-posselt.com> * @author Bernhard Posselt <dev@bernhard-posselt.com>

View File

@ -1395,7 +1395,7 @@ class Manager implements IManager {
/** /**
* Create a new share * Create a new share
* @return \OCP\Share\IShare; * @return \OCP\Share\IShare
*/ */
public function newShare() { public function newShare() {
return new \OC\Share20\Share($this->rootFolder, $this->userManager); return new \OC\Share20\Share($this->rootFolder, $this->userManager);

View File

@ -140,7 +140,7 @@ class Tags implements \OCP\ITags {
/** /**
* Check if any tags are saved for this type and user. * Check if any tags are saved for this type and user.
* *
* @return boolean. * @return boolean
*/ */
public function isEmpty() { public function isEmpty() {
return count($this->tags) === 0; return count($this->tags) === 0;

View File

@ -431,7 +431,7 @@ class OC_Image implements \OCP\IImage {
* (I'm open for suggestions on better method name ;) * (I'm open for suggestions on better method name ;)
* Fixes orientation based on EXIF data. * Fixes orientation based on EXIF data.
* *
* @return bool. * @return bool
*/ */
public function fixOrientation() { public function fixOrientation() {
$o = $this->getOrientation(); $o = $this->getOrientation();

View File

@ -278,7 +278,7 @@ function human_file_size( $bytes ) {
/** /**
* Strips the timestamp of its time value * Strips the timestamp of its time value
* @param int $timestamp UNIX timestamp to strip * @param int $timestamp UNIX timestamp to strip
* @return $timestamp without time value * @return int timestamp without time value
*/ */
function strip_time($timestamp){ function strip_time($timestamp){
$date = new \DateTime("@{$timestamp}"); $date = new \DateTime("@{$timestamp}");

View File

@ -35,7 +35,7 @@ class DataDisplayResponse extends Response {
/** /**
* response data * response data
* @var string; * @var string
*/ */
protected $data; protected $data;

View File

@ -174,7 +174,7 @@ interface FileInfo {
/** /**
* Check whether this is a file or a folder * 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 * @since 7.0.0
*/ */
public function getType(); public function getType();

View File

@ -670,7 +670,7 @@ class Util {
* Compare two strings to provide a natural sort * Compare two strings to provide a natural sort
* @param string $a first string to compare * @param string $a first string to compare
* @param string $b second 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 * or 0 if the strings are identical
* @since 7.0.0 * @since 7.0.0
*/ */