mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes #12055: Changed boolean
to bool
and integer
to int
in phpdoc
This commit is contained in:

committed by
Alexander Makarov

parent
940f7c7cd4
commit
4aa935e69e
@ -40,7 +40,7 @@ class ActiveFixture extends BaseActiveFixture
|
||||
*/
|
||||
public $tableName;
|
||||
/**
|
||||
* @var string|boolean the file path or path alias of the data file that contains the fixture data
|
||||
* @var string|bool the file path or path alias of the data file that contains the fixture data
|
||||
* to be returned by [[getData()]]. If this is not set, it will default to `FixturePath/data/TableName.php`,
|
||||
* where `FixturePath` stands for the directory containing this fixture class, and `TableName` stands for the
|
||||
* name of the table associated with this fixture. You can set this property to be false to prevent loading any data.
|
||||
|
@ -28,7 +28,7 @@ class ArrayFixture extends Fixture implements \IteratorAggregate, \ArrayAccess,
|
||||
*/
|
||||
public $data = [];
|
||||
/**
|
||||
* @var string|boolean the file path or path alias of the data file that contains the fixture data
|
||||
* @var string|bool the file path or path alias of the data file that contains the fixture data
|
||||
* to be returned by [[getData()]]. You can set this property to be false to prevent loading any data.
|
||||
*/
|
||||
public $dataFile;
|
||||
|
@ -32,7 +32,7 @@ abstract class BaseActiveFixture extends DbFixture implements \IteratorAggregate
|
||||
*/
|
||||
public $data = [];
|
||||
/**
|
||||
* @var string|boolean the file path or path alias of the data file that contains the fixture data
|
||||
* @var string|bool the file path or path alias of the data file that contains the fixture data
|
||||
* to be returned by [[getData()]]. You can set this property to be false to prevent loading any data.
|
||||
*/
|
||||
public $dataFile;
|
||||
|
@ -88,7 +88,7 @@ class InitDbFixture extends DbFixture
|
||||
|
||||
/**
|
||||
* Toggles the DB integrity check.
|
||||
* @param boolean $check whether to turn on or off the integrity check.
|
||||
* @param bool $check whether to turn on or off the integrity check.
|
||||
*/
|
||||
public function checkIntegrity($check)
|
||||
{
|
||||
|
Reference in New Issue
Block a user