Skip to content

Commit 9e5f2b2

Browse files
committed
chore: apply rector analytics
1 parent 91ec552 commit 9e5f2b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app-modules/database-migration/src/Services/SshTunnelService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ private function normalizeKeyContent(string $keyContent): string
208208

209209
private function isBase64Encoded(string $data): bool
210210
{
211-
if (! preg_match('/^[a-zA-Z0-9\/\r\n+]*={0,2}$/', $data)) {
211+
if (in_array(preg_match('/^[a-zA-Z0-9\/\r\n+]*={0,2}$/', $data), [0, false], true)) {
212212
return false;
213213
}
214214

0 commit comments

Comments
 (0)