You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sanitize and truncate Guzzle error messages
Prevent binary data and excessively long request/response bodies from being included in exception messages to ensure logs remain readable.
Adds utility function for checking emptiness
Adds a utility function that provides a more reliable way to determine if a variable is considered "empty".
The native `empty()` function treats '0' and 0 as empty, which is often not the desired behavior. The new function `realEmpty()` addresses this by explicitly checking for these cases.
Adds utility function to create DateTimeImmutable
Adds a static method that attempts to create a DateTimeImmutable object from an array containing date and timezone information.
Returns null if the input data is invalid or if an exception occurs during DateTimeImmutable creation.