app/Presenters/JSONPresenter.php
Inline control structures are not allowed Open
Open
if (empty($input) && ! is_array($input)) return new Response(null, $code);
- Exclude checks
Inline control structures are not allowed Open
Open
if ($decoded === null) throw new DataFormatException('Unable to decode input');
- Exclude checks
Opening brace should be on a new line Open
Open
public static function safeEncode($input) {
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Opening brace should be on a new line Open
Open
public static function safeDecode($input) {
- Exclude checks