mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-15 12:37:46 +02:00
chore: update CI4 to v4.6.4 + php and js packages to latest
This commit is contained in:
parent
d438190b49
commit
133e308603
36 changed files with 2015 additions and 1476 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue