Browse Source

Merge pull request #892 from nextcloud/fix_phpdoc

Some scrutinizer phpdoc fixes
tags/v11.0RC2
Roeland Jago Douma 7 years ago
parent
commit
ce0604bd06

+ 1
- 1
apps/dav/lib/Comments/CommentsPlugin.php View File

@@ -149,7 +149,7 @@ class CommentsPlugin extends ServerPlugin {
* REPORT operations to look for comments
*
* @param string $reportName
* @param [] $report
* @param array $report
* @param string $uri
* @return bool
* @throws NotFound

+ 3
- 3
lib/private/Comments/Comment.php View File

@@ -47,8 +47,8 @@ class Comment implements IComment {
/**
* Comment constructor.
*
* @param [] $data optional, array with keys according to column names from
* the comments database scheme
* @param array $data optional, array with keys according to column names from
* the comments database scheme
*/
public function __construct(array $data = null) {
if(is_array($data)) {
@@ -358,7 +358,7 @@ class Comment implements IComment {
* sets the comment data based on an array with keys as taken from the
* database.
*
* @param [] $data
* @param array $data
* @return IComment
*/
protected function fromArray($data) {

+ 1
- 1
lib/private/Notification/Manager.php View File

@@ -33,7 +33,7 @@ class Manager implements IManager {
/** @var IApp[] */
protected $apps;

/** @var INotifier */
/** @var INotifier[] */
protected $notifiers;

/** @var array[] */

+ 2
- 2
lib/public/IL10N.php View File

@@ -76,10 +76,10 @@ interface IL10N {
/**
* Localization
* @param string $type Type of localization
* @param int|string $data parameters for this localization
* @param \DateTime|int|string $data parameters for this localization
* @param array $options currently supports following options:
* - 'width': handed into \Punic\Calendar::formatDate as second parameter
* @return string|false
* @return string|int|false
*
* Returns the localized data.
*

+ 1
- 1
settings/Controller/CertificateController.php View File

@@ -82,7 +82,7 @@ class CertificateController extends Controller {
* Add a new root certificate to a trust store
*
* @param ICertificateManager $certificateManager
* @return array
* @return DataResponse
*/
private function addCertificate(ICertificateManager $certificateManager) {
$headers = [];

Loading…
Cancel
Save