Fix phpdoc in Comments
This commit is contained in:
parent
035f55c913
commit
64ff8ac6fa
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue