Boolean should be compared strictly

This commit is contained in:
Emir Beganovic
2015-10-07 02:28:06 +02:00
parent eeccb87ab7
commit 264a6ceca3
+1 -1
View File
@@ -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();