Remove extraneous backslash

This commit is contained in:
Brady Wetherington 2022-02-08 12:09:40 -08:00
parent fb890fbc30
commit c300e7c7f6

View file

@ -12,7 +12,7 @@ abstract class Request extends FormRequest
public function json($key = null, $default = null) public function json($key = null, $default = null)
{ {
if ($this->ajax() || $this->wantsJson()) { if ($this->ajax() || $this->wantsJson()) {
json_decode($this->getContent(), false, 512, \JSON_THROW_ON_ERROR); // ignore output, just throw json_decode($this->getContent(), false, 512, JSON_THROW_ON_ERROR); // ignore output, just throw
} }
return parent::json($key, $default); return parent::json($key, $default);
} }