apply null coalescing operator, strict equality, avoid aliases, prefer empty

This commit is contained in:
El RIDO 2025-11-20 08:19:14 +01:00
parent fc4a92e6a4
commit b4db5f8e57
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
17 changed files with 86 additions and 104 deletions

View file

@ -40,7 +40,7 @@ class FormatV2
}
// Make sure no additionnal keys were added.
if (count(array_keys($message)) != count($required_keys)) {
if (count(array_keys($message)) !== count($required_keys)) {
return false;
}