mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-23 02:35:23 +00:00
added configuration for PHP Coding Standards Fixer, including its fixes, resolving #47
This commit is contained in:
parent
87926ce157
commit
72aac25f68
17 changed files with 114 additions and 90 deletions
|
|
@ -33,7 +33,7 @@ class Json
|
|||
public static function encode($input)
|
||||
{
|
||||
$jsonString = json_encode($input);
|
||||
$errorCode = json_last_error();
|
||||
$errorCode = json_last_error();
|
||||
if ($errorCode === JSON_ERROR_NONE) {
|
||||
return $jsonString;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue