apply StyleCI recommendation

This commit is contained in:
El RIDO
2025-11-19 09:57:08 +01:00
parent 3a23117ebf
commit baa79e12e8
4 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ class JsonException extends Exception
* @access public
* @param int $code
*/
public function __construct(int $code) {
public function __construct(int $code)
{
$message = 'A JSON error occurred';
if (function_exists('json_last_error_msg')) {
$message .= ': ' . json_last_error_msg();