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

@ -81,13 +81,13 @@ class SluggableBehavior extends AttributeBehavior
*/
public $value;
/**
* @var boolean whether to generate a new slug if it has already been generated before.
* @var bool whether to generate a new slug if it has already been generated before.
* If true, the behavior will not generate a new slug even if [[attribute]] is changed.
* @since 2.0.2
*/
public $immutable = false;
/**
* @var boolean whether to ensure generated slug value to be unique among owner class records.
* @var bool whether to ensure generated slug value to be unique among owner class records.
* If enabled behavior will validate slug uniqueness automatically. If validation fails it will attempt
* generating unique slug value from based one until success.
*/
@ -157,7 +157,7 @@ class SluggableBehavior extends AttributeBehavior
* Checks whether the new slug generation is needed
* This method is called by [[getValue]] to check whether the new slug generation is needed.
* You may override it to customize checking.
* @return boolean
* @return bool
* @since 2.0.7
*/
protected function isNewSlugNeeded()
@ -215,7 +215,7 @@ class SluggableBehavior extends AttributeBehavior
/**
* Checks if given slug value is unique.
* @param string $slug slug value
* @return boolean whether slug is unique.
* @return bool whether slug is unique.
*/
protected function validateSlug($slug)
{
@ -239,7 +239,7 @@ class SluggableBehavior extends AttributeBehavior
/**
* Generates slug using configured callback or increment of iteration.
* @param string $baseSlug base slug value
* @param integer $iteration iteration number
* @param int $iteration iteration number
* @return string new slug value
* @throws \yii\base\InvalidConfigException
*/