mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-04-21 16:01:56 +02:00
Enhancement: Use boolean expression in condition
This commit is contained in:
parent
9004bdfb7e
commit
204c07637b
@ -82,7 +82,7 @@ class Company extends \Faker\Provider\Company
|
||||
break;
|
||||
}
|
||||
|
||||
if (static::numberBetween(0, 1)) {
|
||||
if (0 !== static::numberBetween(0, 1)) {
|
||||
$companyName = $companyName . ' ' . static::randomElement(static::$companySuffix);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user