Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: validateJson should return false when value is null
Return false when $value is null. Avoid TypeError: json_validate(): Argument laravel#1 ($json) must be of type string, null given, when using symfony/polyfill-php83 in PHP < 8.3. Avoid deprecation warning: json_validate(): Passing null to parameter laravel#1 ($json) of type string is deprecated, when using PHP 8.3.
- Loading branch information