summaryrefslogtreecommitdiffstats
path: root/lib/Status
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-04-06 12:43:03 -0300
committerVitor Mattos <vitor@php.rio>2022-04-06 12:43:03 -0300
commitc07251f0c67d3c02debe1f6dbe0e12ee3fe9f99a (patch)
treebe06389952fa3dee69071af38e872ec350da3a96 /lib/Status
parentf7505e0d59b8343bc0405286fdf9c8b4da27d3dc (diff)
Use PHP7.4 property typehinting where possible
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Status')
-rw-r--r--lib/Status/Listener.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Status/Listener.php b/lib/Status/Listener.php
index de585b760..4bf4e7ffe 100644
--- a/lib/Status/Listener.php
+++ b/lib/Status/Listener.php
@@ -36,8 +36,7 @@ use OCP\UserStatus\IManager;
use OCP\UserStatus\IUserStatus;
class Listener {
- /** @var IManager $statusManager */
- public $statusManager;
+ public IManager $statusManager;
public function __construct(IManager $statusManager) {
$this->statusManager = $statusManager;