summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-08-17 10:38:21 +0200
committerGitHub <noreply@github.com>2016-08-17 10:38:21 +0200
commitce0604bd0627c62671d46d443639815ade4d4852 (patch)
treeeb7197f752f84d972a379cb07c833b42c8ae4553 /lib
parent56a3c853ccbc9701e8ef9e08365177b9290279b9 (diff)
parent64ff8ac6fa525f45988283bc2a7c68fa4f49e426 (diff)
downloadnextcloud-server-ce0604bd0627c62671d46d443639815ade4d4852.tar.gz
nextcloud-server-ce0604bd0627c62671d46d443639815ade4d4852.zip
Merge pull request #892 from nextcloud/fix_phpdoc
Some scrutinizer phpdoc fixes
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Comments/Comment.php6
-rw-r--r--lib/private/Notification/Manager.php2
-rw-r--r--lib/public/IL10N.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php
index d640c606f8e..f6f0801c683 100644
--- a/lib/private/Comments/Comment.php
+++ b/lib/private/Comments/Comment.php
@@ -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) {
diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php
index 240cb1e11ff..a079561f5c9 100644
--- a/lib/private/Notification/Manager.php
+++ b/lib/private/Notification/Manager.php
@@ -33,7 +33,7 @@ class Manager implements IManager {
/** @var IApp[] */
protected $apps;
- /** @var INotifier */
+ /** @var INotifier[] */
protected $notifiers;
/** @var array[] */
diff --git a/lib/public/IL10N.php b/lib/public/IL10N.php
index 68bbb5a51fa..0dfe28c2ce8 100644
--- a/lib/public/IL10N.php
+++ b/lib/public/IL10N.php
@@ -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.
*