diff options
author | Joas Schilling <coding@schilljs.com> | 2019-02-12 18:07:59 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-02-12 18:07:59 +0300 |
commit | fb90a742312eb92898c56451757ebb3a5d916c88 (patch) | |
tree | fad13d0a9e8530e1a791a26d0086e1ee926d8e73 /lib/ContactsMenu | |
parent | af59422720af0d69a29221d13b1b9b32063db603 (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.php | 18 |
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) { |