Merge pull request #892 from nextcloud/fix_phpdoc
Some scrutinizer phpdoc fixes
This commit is contained in:
commit
ce0604bd06
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -33,7 +33,7 @@ class Manager implements IManager {
|
|||
/** @var IApp[] */
|
||||
protected $apps;
|
||||
|
||||
/** @var INotifier */
|
||||
/** @var INotifier[] */
|
||||
protected $notifiers;
|
||||
|
||||
/** @var array[] */
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in New Issue