Remove extraneous backslash
This commit is contained in:
parent
fb890fbc30
commit
c300e7c7f6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue