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:
authorVitor Mattos <vitor@php.rio>2022-04-06 18:43:03 +0300
committerVitor Mattos <vitor@php.rio>2022-04-06 18:43:03 +0300
commitc07251f0c67d3c02debe1f6dbe0e12ee3fe9f99a (patch)
treebe06389952fa3dee69071af38e872ec350da3a96 /lib/Profile
parentf7505e0d59b8343bc0405286fdf9c8b4da27d3dc (diff)
Use PHP7.4 property typehinting where possible
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Profile')
-rw-r--r--lib/Profile/TalkAction.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/Profile/TalkAction.php b/lib/Profile/TalkAction.php
index 139506ac5..d068d87a1 100644
--- a/lib/Profile/TalkAction.php
+++ b/lib/Profile/TalkAction.php
@@ -35,21 +35,16 @@ use OCP\IUserSession;
use OCP\Profile\ILinkAction;
class TalkAction implements ILinkAction {
+ private ?IUser $targetUser = null;
- /** @var IUser */
- private $targetUser;
+ private Config $config;
- /** @var Config */
- private $config;
-
- /** @var IL10N */
- private $l;
+ private IL10N $l;
/** @var IUrlGenerator */
private $urlGenerator;
- /** @var IUserSession */
- private $userSession;
+ private IUserSession $userSession;
public function __construct(
Config $config,