aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Events/AppPasswordCreatedEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Authentication/Events/AppPasswordCreatedEvent.php')
-rw-r--r--lib/private/Authentication/Events/AppPasswordCreatedEvent.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/private/Authentication/Events/AppPasswordCreatedEvent.php b/lib/private/Authentication/Events/AppPasswordCreatedEvent.php
index a90abd25026..068c0a73277 100644
--- a/lib/private/Authentication/Events/AppPasswordCreatedEvent.php
+++ b/lib/private/Authentication/Events/AppPasswordCreatedEvent.php
@@ -25,16 +25,14 @@ declare(strict_types=1);
*/
namespace OC\Authentication\Events;
-use OC\Authentication\Token\IToken;
+use OCP\Authentication\Token\IToken;
use OCP\EventDispatcher\Event;
class AppPasswordCreatedEvent extends Event {
- /** @var IToken */
- private $token;
-
- public function __construct(IToken $token) {
+ public function __construct(
+ private IToken $token,
+ ) {
parent::__construct();
- $this->token = $token;
}
public function getToken(): IToken {