Skip to content

Commit dd7156b

Browse files
committed
review nits
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
1 parent f85d139 commit dd7156b

3 files changed

Lines changed: 2 additions & 11 deletions

File tree

‎lib/Service/ChatService.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public function __construct(
4040
private readonly IManager $taskProcessingManager,
4141
private readonly LoggerInterface $logger,
4242
private readonly ITimeFactory $timeFactory,
43-
private readonly AssistantService $assistantService,
4443
) {
4544
}
4645

‎src/components/ChattyLLM/Message.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export default {
308308
return axios.post(url).then(response => {
309309
const savedPath = response.data.ocs.data.path
310310
console.debug('[assistant] view output file', savedPath)
311-
OCA.Viewer.open({ path: savedPath })
311+
OCA?.Viewer?.open({ path: savedPath })
312312
}).catch(error => {
313313
console.error(error)
314314
})
@@ -318,7 +318,7 @@ export default {
318318
return axios.get(url).then(response => {
319319
const path = this.toViewerPath(response.data.ocs.data.path)
320320
console.debug('[assistant] view input file', path)
321-
OCA.Viewer.open({ path })
321+
OCA?.Viewer?.open({ path })
322322
}).catch(error => {
323323
console.error(error)
324324
})

‎tests/psalm-baseline.xml‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,4 @@
4242
<code><![CDATA[self::DEBUG]]></code>
4343
</TypeDoesNotContainType>
4444
</file>
45-
<file src="lib/Migration/Version030500Date20260715083046.php">
46-
<LessSpecificReturnStatement>
47-
<code><![CDATA[$userIds]]></code>
48-
</LessSpecificReturnStatement>
49-
<MoreSpecificReturnType>
50-
<code><![CDATA[list<string>]]></code>
51-
</MoreSpecificReturnType>
52-
</file>
5345
</files>

0 commit comments

Comments
 (0)