Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-02-12 18:07:59 +0300
committerJoas Schilling <coding@schilljs.com>2019-02-12 18:07:59 +0300
commitfb90a742312eb92898c56451757ebb3a5d916c88 (patch)
treefad13d0a9e8530e1a791a26d0086e1ee926d8e73 /lib/ContactsMenu
parentaf59422720af0d69a29221d13b1b9b32063db603 (diff)
Make all classes strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/ContactsMenu')
-rw-r--r--lib/ContactsMenu/Providers/CallProvider.php18
1 files changed, 6 insertions, 12 deletions
diff --git a/lib/ContactsMenu/Providers/CallProvider.php b/lib/ContactsMenu/Providers/CallProvider.php
index df861b7ee..83f282105 100644
--- a/lib/ContactsMenu/Providers/CallProvider.php
+++ b/lib/ContactsMenu/Providers/CallProvider.php
@@ -1,5 +1,5 @@
<?php
-
+declare(strict_types=1);
/**
* @copyright 2017 Ivan Sein <ivan@nextcloud.com>
*
@@ -46,23 +46,17 @@ class CallProvider implements IProvider {
/** @var IL10N */
private $l10n;
- /**
- * @param IActionFactory $actionFactory
- * @param IURLGenerator $urlGenerator
- * @param IUserManager $userManager
- * @param IL10N $l10n
- */
- public function __construct(IActionFactory $actionFactory, IURLGenerator $urlGenerator, IL10N $l10n, IUserManager $userManager) {
+ public function __construct(IActionFactory $actionFactory,
+ IURLGenerator $urlGenerator,
+ IL10N $l10n,
+ IUserManager $userManager) {
$this->actionFactory = $actionFactory;
$this->urlGenerator = $urlGenerator;
$this->userManager = $userManager;
$this->l10n = $l10n;
}
- /**
- * @param IEntry $entry
- */
- public function process(IEntry $entry) {
+ public function process(IEntry $entry): void {
$uid = $entry->getProperty('UID');
if ($uid === null) {