Skip to content

Commit

Permalink
Merge 53ce4ef into 445c820
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-roche committed Apr 18, 2018
2 parents 445c820 + 53ce4ef commit 801762b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concise/Mock/ClassCompiler.php
Expand Up @@ -99,7 +99,7 @@ public function __construct(
throw new InvalidArgumentException($message);
}
$this->className = ltrim($className, '\\');
$this->mockUnique = '_' . substr(md5(rand()), 24);
$this->mockUnique = '_' . substr(md5(mt_rand()), 24);
$this->niceMock = $niceMock;
$this->constructorArgs = $constructorArgs;
$this->disableConstructor = $disableConstructor;
Expand Down

0 comments on commit 801762b

Please sign in to comment.