diff options
author | Vitor Mattos <vitor@php.rio> | 2022-04-06 12:43:03 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2022-04-06 12:43:03 -0300 |
commit | c07251f0c67d3c02debe1f6dbe0e12ee3fe9f99a (patch) | |
tree | be06389952fa3dee69071af38e872ec350da3a96 /lib/Controller/MatterbridgeController.php | |
parent | f7505e0d59b8343bc0405286fdf9c8b4da27d3dc (diff) |
Use PHP7.4 property typehinting where possible
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Controller/MatterbridgeController.php')
-rw-r--r-- | lib/Controller/MatterbridgeController.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/Controller/MatterbridgeController.php b/lib/Controller/MatterbridgeController.php index 4e4fc595e..43bdecb91 100644 --- a/lib/Controller/MatterbridgeController.php +++ b/lib/Controller/MatterbridgeController.php @@ -33,12 +33,9 @@ use OCP\AppFramework\Http\DataResponse; use OCP\IRequest; class MatterbridgeController extends AEnvironmentAwareController { - /** @var string|null */ - protected $userId; - /** @var Manager */ - protected $manager; - /** @var MatterbridgeManager */ - protected $bridgeManager; + protected ?string $userId; + protected Manager $manager; + protected MatterbridgeManager $bridgeManager; public function __construct(string $appName, ?string $UserId, |