Skip to content

Commit

Permalink
fixup! feat: ai message summary
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
  • Loading branch information
SebastianKrupinski committed Dec 17, 2024
1 parent d023a23 commit 7d3580e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Listener/TaskProcessingListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function handle(Event $event): void {
}

if ($type === 'message') {
$this->handleMessageSummary($userId, (int)$id, $summary);
$this->handleMessageSummary($userId, (int)$id, (string)$summary);

Check failure on line 71 in lib/Listener/TaskProcessingListener.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-master

PossiblyInvalidCast

lib/Listener/TaskProcessingListener.php:71:59: PossiblyInvalidCast: list<numeric|string> cannot be cast to string (see https://psalm.dev/190)

Check warning on line 71 in lib/Listener/TaskProcessingListener.php

View check run for this annotation

Codecov / codecov/patch

lib/Listener/TaskProcessingListener.php#L70-L71

Added lines #L70 - L71 were not covered by tests
}

}
Expand Down

0 comments on commit 7d3580e

Please sign in to comment.