From 05f1b36bf7069376e393fcf50adab0ca3a8b9525 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 30 Aug 2022 11:37:43 +0200 Subject: [PATCH] add var hint - let's tools like IDEs better deduct the classses and methods used Signed-off-by: Arthur Schiwon --- lib/Chat/Command/Listener.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Chat/Command/Listener.php b/lib/Chat/Command/Listener.php index 7f469fe59..aaac4b088 100644 --- a/lib/Chat/Command/Listener.php +++ b/lib/Chat/Command/Listener.php @@ -49,6 +49,9 @@ class Listener { $message = $event->getComment(); $participant = $event->getParticipant(); + /** + * @var Listener $listener + */ $listener = Server::get(self::class); if (strpos($message->getMessage(), '//') === 0) {