Skip to content

Commit cff1b9c

Browse files
committed
AC-8017 system settings improvement
1 parent 74a0c37 commit cff1b9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/EncryptionKey/Setup/Patch/Data/SodiumChachaPatchTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
class SodiumChachaPatchTest extends \PHPUnit\Framework\TestCase
1717
{
18-
const PATH_KEY = 'crypt/key';
18+
private const PATH_KEY = 'crypt/key';
1919

2020
/**
2121
* @var ObjectManagerInterface

lib/internal/Magento/Framework/Math/Random.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function getUniqueHash($prefix = '')
9292
* @return string
9393
* @throws Exception
9494
*/
95-
public function getRandomBytes($length)
95+
public function getRandomBytes(int $length) : string
9696
{
9797
return base64_encode(random_bytes($length));
9898
}

0 commit comments

Comments
 (0)