Completed
Pull Request — master (#14105)
by Sergey
25:45 queued 07:44
created
framework/db/Command.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@
 block discarded – undo
379 379
     /**
380 380
      * Executes the SQL statement and returns the value of the first column in the first row of data.
381 381
      * This method is best used when only a single value is needed for a query.
382
-     * @return string|null|false the value of the first column in the first row of the query result.
382
+     * @return string the value of the first column in the first row of the query result.
383 383
      * False is returned if there is no value.
384 384
      * @throws Exception execution failed
385 385
      */
Please login to merge, or discard this patch.
framework/db/cubrid/Schema.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
     /**
267 267
      * Loads the column information into a [[ColumnSchema]] object.
268 268
      * @param array $info column information
269
-     * @return ColumnSchema the column schema object
269
+     * @return \yii\db\ColumnSchema the column schema object
270 270
      */
271 271
     protected function loadColumnSchema($info)
272 272
     {
Please login to merge, or discard this patch.
framework/db/Schema.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
      * Executes the INSERT command, returning primary key values.
394 394
      * @param string $table the table that new rows will be inserted into.
395 395
      * @param array $columns the column data (name => value) to be inserted into the table.
396
-     * @return array|false primary key values or false if the command fails
396
+     * @return string primary key values or false if the command fails
397 397
      * @since 2.0.4
398 398
      */
399 399
     public function insert($table, $columns)
@@ -597,7 +597,7 @@  discard block
 block discarded – undo
597 597
     /**
598 598
      * Returns the cache key for the specified table name.
599 599
      * @param string $name the table name
600
-     * @return mixed the cache key
600
+     * @return string[] the cache key
601 601
      */
602 602
     protected function getCacheKey($name)
603 603
     {
Please login to merge, or discard this patch.
framework/db/pgsql/Schema.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
     /**
267 267
      * Loads the column information into a [[ColumnSchema]] object.
268 268
      * @param array $info column information
269
-     * @return ColumnSchema the column schema object
269
+     * @return \yii\db\ColumnSchema the column schema object
270 270
      */
271 271
     protected function loadColumnSchema($info)
272 272
     {
Please login to merge, or discard this patch.
framework/db/sqlite/Schema.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
     /**
267 267
      * Loads the column information into a [[ColumnSchema]] object.
268 268
      * @param array $info column information
269
-     * @return ColumnSchema the column schema object
269
+     * @return \yii\db\ColumnSchema the column schema object
270 270
      */
271 271
     protected function loadColumnSchema($info)
272 272
     {
Please login to merge, or discard this patch.