Fix phpdoc in Comments

This commit is contained in:
Roeland Jago Douma 2016-08-16 20:28:23 +02:00
parent 035f55c913
commit 64ff8ac6fa
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
2 changed files with 4 additions and 4 deletions

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

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) {