Skip to content

Commit b173e41

Browse files
committed
[BUGFIX] Fix CS issues
This change fixes CS issues popped after 2025.02.
1 parent 763fa1d commit b173e41

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Classes/Report/TikaStatus.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ protected function getSolrCellConfigurationStatus(): Status
196196
if (!is_null($extractedContent) && !empty($extractedMetadata)) {
197197
$solrCellConfigurationOk = true;
198198
} elseif ($response instanceof ResponseAdapter) {
199-
$additionalErrorInfos = /* @lang HTML */
200-
"
199+
$additionalErrorInfos /* @lang HTML */
200+
= "
201201
<table class='table table-condensed table-hover table-striped'>
202202
<tbody>
203203
<tr class='warning'>
@@ -212,8 +212,8 @@ protected function getSolrCellConfigurationStatus(): Status
212212
";
213213
}
214214
} catch (Throwable $e) {
215-
$additionalErrorInfos = /* @lang HTML */
216-
"
215+
$additionalErrorInfos /* @lang HTML */
216+
= "
217217
<div class='panel panel-default'>
218218
<div class='panel-heading'>
219219
<h3 class='panel-title'>

Classes/Service/Tika/ServerService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ protected function queryTika(RequestInterface $request): string
259259
} catch (Throwable $exception) {
260260
$message = $exception->getMessage();
261261
if (
262-
!str_contains($message, 'Connection refused') &&
263-
!str_contains($message, 'HTTP request failed')
262+
!str_contains($message, 'Connection refused')
263+
&& !str_contains($message, 'HTTP request failed')
264264
) {
265265
// If the server is simply not available it would say Connection refused
266266
// since that is not the case something else went wrong

0 commit comments

Comments
 (0)