Skip to content

Commit 34e270b

Browse files
committed
MAGETWO-96498: Gift Card Account
1 parent d66d006 commit 34e270b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/Magento/Framework/Console/GenerationDirectoryAccess.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ public function check()
5555
|| $directoryWrite->isReadable()
5656
) {
5757
try {
58-
$probeFilePath = $generationDirectoryPath . DIRECTORY_SEPARATOR .
59-
uniqid(random_int(0, PHP_INT_MAX)).'tmp';
58+
$probeFilePath = $generationDirectoryPath . DIRECTORY_SEPARATOR . uniqid(mt_rand()).'tmp';
6059
$fileWriteFactory->create($probeFilePath, DriverPool::FILE, 'w');
6160
$driver->deleteFile($probeFilePath);
6261
} catch (\Exception $e) {

0 commit comments

Comments
 (0)