mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 18:47:33 +08:00 
			
		
		
		
	Fix #20604: Fix @var annotation for yii\db\Command::$pdoStatement
				
					
				
			This commit is contained in:
		| @ -53,6 +53,7 @@ Yii Framework 2 Change Log | ||||
| - Enh #20591: Add PHPStan/Psalm annotations for `yii\rbac\BaseManager::getItems()` (mspirkov) | ||||
| - Bug #20594: Fix `@return` annotation for `Instance::get()` (mspirkov) | ||||
| - Bug #20595: Fix `@return` annotation for `BaseHtml::getAttributeValue()` (mspirkov) | ||||
| - Bug #20604: Fix `@var` annotation for `yii\db\Command::$pdoStatement` (mspirkov) | ||||
| - Bug #20600: Fix `@var` annotation for `yii\test\FileFixtureTrait::$dataFile` (mspirkov) | ||||
|  | ||||
|  | ||||
|  | ||||
| @ -61,7 +61,7 @@ class Command extends Component | ||||
|      */ | ||||
|     public $db; | ||||
|     /** | ||||
|      * @var \PDOStatement the PDOStatement object that this command is associated with | ||||
|      * @var \PDOStatement|null the PDOStatement object that this command is associated with | ||||
|      */ | ||||
|     public $pdoStatement; | ||||
|     /** | ||||
| @ -95,11 +95,11 @@ class Command extends Component | ||||
|     protected $pendingParams = []; | ||||
|  | ||||
|     /** | ||||
|      * @var string the SQL statement that this command represents | ||||
|      * @var string|null the SQL statement that this command represents | ||||
|      */ | ||||
|     private $_sql; | ||||
|     /** | ||||
|      * @var string name of the table, which schema, should be refreshed after command execution. | ||||
|      * @var string|null name of the table, which schema, should be refreshed after command execution. | ||||
|      */ | ||||
|     private $_refreshTableName; | ||||
|     /** | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Maksim Spirkov
					Maksim Spirkov