Skip to content

Commit 9ec1006

Browse files
refactor(rector): apply safe modernizations in Pkcs12Handler
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 88b4f7d commit 9ec1006

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Handler/SignEngine/Pkcs12Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ private function hasLibreSignCaId(array $parsed): bool {
247247
}
248248

249249
foreach ($organizationalUnits as $ou) {
250-
$ou = trim($ou);
250+
$ou = trim((string)$ou);
251251
if ($this->caIdentifierService->isValidCaId($ou, $instanceId)) {
252252
return true;
253253
}

0 commit comments

Comments
 (0)