Fixed JsonResponseHandler::setJsonApi PHPDoc

This commit is contained in:
Serghei Iakovlev
2017-01-22 21:46:33 +02:00
committed by GitHub
parent 2abce9d956
commit a05cb119e5
+2 -2
View File
@@ -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;