Fixes #12055: Changed boolean to bool and integer to int in phpdoc

This commit is contained in:
Robert Korulczyk
2016-11-07 00:51:39 +01:00
committed by Alexander Makarov
parent 940f7c7cd4
commit 4aa935e69e
292 changed files with 1670 additions and 1670 deletions

View File

@ -38,13 +38,13 @@ use yii\helpers\Json;
class JsonResponseFormatter extends Component implements ResponseFormatterInterface
{
/**
* @var boolean whether to use JSONP response format. When this is true, the [[Response::data|response data]]
* @var bool whether to use JSONP response format. When this is true, the [[Response::data|response data]]
* must be an array consisting of `data` and `callback` members. The latter should be a JavaScript
* function name while the former will be passed to this function as a parameter.
*/
public $useJsonp = false;
/**
* @var integer the encoding options passed to [[Json::encode()]]. For more details please refer to
* @var int the encoding options passed to [[Json::encode()]]. For more details please refer to
* <http://www.php.net/manual/en/function.json-encode.php>.
* Default is `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE`.
* This property has no effect, when [[useJsonp]] is `true`.