Merge pull request #892 from nextcloud/fix_phpdoc

Some scrutinizer phpdoc fixes
This commit is contained in:
Roeland Jago Douma 2016-08-17 10:38:21 +02:00 committed by GitHub
commit ce0604bd06
5 changed files with 8 additions and 8 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) {

View File

@ -33,7 +33,7 @@ class Manager implements IManager {
/** @var IApp[] */
protected $apps;
/** @var INotifier */
/** @var INotifier[] */
protected $notifiers;
/** @var array[] */

View File

@ -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.
*

View File

@ -82,7 +82,7 @@ class CertificateController extends Controller {
* Add a new root certificate to a trust store
*
* @param ICertificateManager $certificateManager
* @return array
* @return DataResponse
*/
private function addCertificate(ICertificateManager $certificateManager) {
$headers = [];