summaryrefslogtreecommitdiffstats
path: root/lib/private/Comments
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-16 20:28:23 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-16 20:33:09 +0200
commit64ff8ac6fa525f45988283bc2a7c68fa4f49e426 (patch)
treeef8a2e1b14e9bbae0d68866a4f356e81ac4218ec /lib/private/Comments
parent035f55c91390992f723a2037a773884dc0ea06e8 (diff)
downloadnextcloud-server-64ff8ac6fa525f45988283bc2a7c68fa4f49e426.tar.gz
nextcloud-server-64ff8ac6fa525f45988283bc2a7c68fa4f49e426.zip
Fix phpdoc in Comments
Diffstat (limited to 'lib/private/Comments')
-rw-r--r--lib/private/Comments/Comment.php6
1 files changed, 3 insertions, 3 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) {