feat: Global search for chat messages in the UI #685
psalm.yml
on: pull_request
matrix
13s
Matrix: static-analysis
static-psalm-analysis-summary
7s
Annotations
7 errors
|
static-psalm-analysis dev-master
Process completed with exit code 2.
|
|
LessSpecificReturnStatement:
lib/Controller/ChattyLLMController.php#L341
lib/Controller/ChattyLLMController.php:341:11: LessSpecificReturnStatement: The type 'OCP\AppFramework\Http\JSONResponse<200, array{sessions: array<array-key, OCA\Assistant\Db\ChattyLLM\Session>}, array<never, never>>' is more general than the declared return type 'OCP\AppFramework\Http\JSONResponse<200|401|500, array{error?: string, sessions?: list<array{agency_conversation_token: null|string, agency_pending_actions: null|string, id: int, is_remembered: bool, is_summary_up_to_date: bool, summary: null|string, timestamp: int|null, title: null|string, user_id: string}>}, array<never, never>>' for OCA\Assistant\Controller\ChattyLLMController::searchChat (see https://psalm.dev/129)
|
|
MoreSpecificReturnType:
lib/Controller/ChattyLLMController.php#L321
lib/Controller/ChattyLLMController.php:321:13: MoreSpecificReturnType: The declared return type 'OCP\AppFramework\Http\JSONResponse<200|401|500, array{error?: string, sessions?: list<array{agency_conversation_token: null|string, agency_pending_actions: null|string, id: int, is_remembered: bool, is_summary_up_to_date: bool, summary: null|string, timestamp: int|null, title: null|string, user_id: string}>}, array<never, never>>' for OCA\Assistant\Controller\ChattyLLMController::searchChat is more specific than the inferred return type 'OCP\AppFramework\Http\JSONResponse<200|401|500, array{error?: string, sessions?: array<array-key, OCA\Assistant\Db\ChattyLLM\Session>}, array<never, never>>' (see https://psalm.dev/070)
|
|
static-psalm-analysis dev-stable33
Process completed with exit code 2.
|
|
LessSpecificReturnStatement:
lib/Controller/ChattyLLMController.php#L341
lib/Controller/ChattyLLMController.php:341:11: LessSpecificReturnStatement: The type 'OCP\AppFramework\Http\JSONResponse<200, array{sessions: array<array-key, OCA\Assistant\Db\ChattyLLM\Session>}, array<never, never>>' is more general than the declared return type 'OCP\AppFramework\Http\JSONResponse<200|401|500, array{error?: string, sessions?: list<array{agency_conversation_token: null|string, agency_pending_actions: null|string, id: int, is_remembered: bool, is_summary_up_to_date: bool, summary: null|string, timestamp: int|null, title: null|string, user_id: string}>}, array<never, never>>' for OCA\Assistant\Controller\ChattyLLMController::searchChat (see https://psalm.dev/129)
|
|
MoreSpecificReturnType:
lib/Controller/ChattyLLMController.php#L321
lib/Controller/ChattyLLMController.php:321:13: MoreSpecificReturnType: The declared return type 'OCP\AppFramework\Http\JSONResponse<200|401|500, array{error?: string, sessions?: list<array{agency_conversation_token: null|string, agency_pending_actions: null|string, id: int, is_remembered: bool, is_summary_up_to_date: bool, summary: null|string, timestamp: int|null, title: null|string, user_id: string}>}, array<never, never>>' for OCA\Assistant\Controller\ChattyLLMController::searchChat is more specific than the inferred return type 'OCP\AppFramework\Http\JSONResponse<200|401|500, array{error?: string, sessions?: array<array-key, OCA\Assistant\Db\ChattyLLM\Session>}, array<never, never>>' (see https://psalm.dev/070)
|
|
static-psalm-analysis-summary
Process completed with exit code 1.
|