mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-19 21:58:08 -04:00
apply StyleCI recommendation
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user