Skip to content

Commit 925875b

Browse files
committed
Process Rector rule: ArrowFunctionDelegatingCallToFirstClassCallableRector
Signed-off-by: Tim Goudriaan <tim@codedmonkey.com>
1 parent 97a5e9c commit 925875b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Encryption/Encryption.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ public static function create(
5858
$privateKey = $filesystem->readFile($privateKeyPath);
5959
$publicKey = $filesystem->readFile($publicKeyPath);
6060
$rotatedKeys = array_map(
61-
static fn (string $rotatedKeyPath): string => $filesystem->readFile($rotatedKeyPath),
61+
$filesystem->readFile(...),
6262
$rotatedKeyPaths
6363
);
6464
}
6565

6666
$binaryPrivateKey = sodium_hex2bin((string) $privateKey);
6767
$binaryPublicKey = sodium_hex2bin((string) $publicKey);
6868
$binaryRotatedKeys = array_map(
69-
static fn (string $rotatedKey): string => sodium_hex2bin($rotatedKey),
69+
sodium_hex2bin(...),
7070
$rotatedKeys,
7171
);
7272

0 commit comments

Comments
 (0)