Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
indykoning authored Sep 30, 2024
1 parent f46949c commit 4c8ac27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Json
{
public static function isJson($value): bool
{
if (is_array($value) || is_object($value) || (is_string($value) && !str_starts_with($value, '[') && !str_starts_with($value, '{'))) {
if (is_array($value) || is_object($value) || (is_string($value) && ! str_starts_with($value, '[') && ! str_starts_with($value, '{'))) {
return false;
}

Expand Down

0 comments on commit 4c8ac27

Please sign in to comment.