mirror of
https://github.com/filp/whoops.git
synced 2026-09-01 21:18:04 +00:00
Fixed JsonResponseHandler::setJsonApi PHPDoc
This commit is contained in:
@@ -27,10 +27,10 @@ class JsonResponseHandler extends Handler
|
||||
|
||||
/**
|
||||
* Returns errors[[]] instead of error[] to be in compliance with the json:api spec
|
||||
* @param bool Default is false
|
||||
* @param bool $jsonApi Default is false
|
||||
* @return $this
|
||||
*/
|
||||
public function setJsonApi($jsonApi=false)
|
||||
public function setJsonApi($jsonApi = false)
|
||||
{
|
||||
$this->jsonApi = (bool) $jsonApi;
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user