add CS-fixed files
Cette révision appartient à :
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
*
|
||||
* https://www.d3data.de
|
||||
*
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
@ -31,11 +31,11 @@ class Json implements RendererInterface
|
||||
{
|
||||
try {
|
||||
$flags = JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR;
|
||||
$json = json_encode( $rows, $flags );
|
||||
$json = json_encode($rows, $flags);
|
||||
return $json;
|
||||
} catch ( JsonException $e) {
|
||||
} catch (JsonException $e) {
|
||||
/** @var RenderException $newException */
|
||||
$newException = oxNew(RenderException::class, $e->getMessage(), $e->getCode(), $e );
|
||||
$newException = oxNew(RenderException::class, $e->getMessage(), $e->getCode(), $e);
|
||||
throw $newException;
|
||||
}
|
||||
}
|
||||
@ -52,4 +52,4 @@ class Json implements RendererInterface
|
||||
{
|
||||
return "D3_DATAWIZARD_EXPORT_FORMAT_JSON";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur