Fix yoda style

This commit is contained in:
2024-06-12 14:47:21 +02:00
parent 06fb90881e
commit 2aca0fc5a6
9 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class GatewayNameValidator extends ChoiceValidator
{
/* @var App\Validator\GatewayName $constraint */
if (null === $value || '' === $value) {
if ($value === null || $value === '') {
return;
}