mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Boolean should be compared strictly
This commit is contained in:
@@ -42,7 +42,7 @@ class RandomLibAdapter implements RandomGeneratorInterface
|
||||
{
|
||||
$this->generator = $generator;
|
||||
|
||||
if ($this->generator == null) {
|
||||
if ($this->generator === null) {
|
||||
$factory = new Factory();
|
||||
|
||||
$this->generator = $factory->getMediumStrengthGenerator();
|
||||
|
||||
Reference in New Issue
Block a user