Skip to content

Commit 154d2f2

Browse files
committed
fix:(tests)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent e8446ad commit 154d2f2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/ContextChat/ContextChatProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ public function __construct(
4242
}
4343

4444
public function handle(Event $event): void {
45-
if (!$this->isContextChatAvailable()) {
46-
return;
47-
}
4845
if ($event instanceof ContentProviderRegisterEvent) {
4946
$this->register($event);
5047
return;
5148
}
49+
if (!$this->isContextChatAvailable()) {
50+
return;
51+
}
5252
if (!$event instanceof ChangeEvent) {
5353
return;
5454
}

0 commit comments

Comments
 (0)