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 * REPORT operations to look for comments
* *
* @param string $reportName * @param string $reportName
* @param [] $report * @param array $report
* @param string $uri * @param string $uri
* @return bool * @return bool
* @throws NotFound * @throws NotFound

View File

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