Skip to content

Commit ff71c50

Browse files
committed
IHF: Variable renamed.
1 parent 5d3e659 commit ff71c50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/json.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ function is_json($string, $return = false)
77
return false;
88
}
99

10-
$data = json_decode($string);
10+
$decoded = json_decode($string);
1111
if (json_last_error() != JSON_ERROR_NONE) {
1212
return false;
1313
}
1414

15-
return ($return ? $data : true);
15+
return ($return ? $decoded : true);
1616
}
1717
}

0 commit comments

Comments
 (0)