diff options
-rw-r--r-- | apps/dav/lib/Comments/CommentsPlugin.php | 2 | ||||
-rw-r--r-- | lib/private/Comments/Comment.php | 6 | ||||
-rw-r--r-- | lib/private/Notification/Manager.php | 2 | ||||
-rw-r--r-- | lib/public/IL10N.php | 4 | ||||
-rw-r--r-- | settings/Controller/CertificateController.php | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/apps/dav/lib/Comments/CommentsPlugin.php b/apps/dav/lib/Comments/CommentsPlugin.php index f3cf4fb2030..9b496ccf6e5 100644 --- a/apps/dav/lib/Comments/CommentsPlugin.php +++ b/apps/dav/lib/Comments/CommentsPlugin.php @@ -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 diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php index d640c606f8e..f6f0801c683 100644 --- a/lib/private/Comments/Comment.php +++ b/lib/private/Comments/Comment.php @@ -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) { diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php index 240cb1e11ff..a079561f5c9 100644 --- a/lib/private/Notification/Manager.php +++ b/lib/private/Notification/Manager.php @@ -33,7 +33,7 @@ class Manager implements IManager { /** @var IApp[] */ protected $apps; - /** @var INotifier */ + /** @var INotifier[] */ protected $notifiers; /** @var array[] */ diff --git a/lib/public/IL10N.php b/lib/public/IL10N.php index 68bbb5a51fa..0dfe28c2ce8 100644 --- a/lib/public/IL10N.php +++ b/lib/public/IL10N.php @@ -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. * diff --git a/settings/Controller/CertificateController.php b/settings/Controller/CertificateController.php index 8121bec2ce1..1cf9e03effb 100644 --- a/settings/Controller/CertificateController.php +++ b/settings/Controller/CertificateController.php @@ -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 = []; |