chore: update CI4 to v4.6.4 + php and js packages to latest

This commit is contained in:
Yassine Doghri 2025-12-20 18:48:44 +00:00
commit 133e308603
36 changed files with 2015 additions and 1476 deletions

View file

@ -42,7 +42,7 @@ abstract class AbstractObject
}
// removes all NULL, FALSE and Empty Strings but leaves 0 (zero) values
return array_filter($array, static fn ($value): bool => $value !== null && $value !== false && $value !== '');
return array_filter($array, static fn ($value): bool => ! in_array($value, [null, false, ''], true));
}
public function toJSON(): string