1
0
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:
Andreas Möller 2019-08-28 23:18:05 +02:00
parent 9004bdfb7e
commit 204c07637b
No known key found for this signature in database
GPG Key ID: 9FB20A0BAF60E11F

View File

@ -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);
}