Merge pull request #472 from sergeyklay/patch-1

Fixed JsonResponseHandler::setJsonApi PHPDoc
This commit is contained in:
Denis Sokolov
2017-01-22 22:14:17 +02:00
committed by GitHub
+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;