@@ -36,7 +36,7 @@ interface AdapterInterface
36
36
const INSERT_ON_DUPLICATE = 1 ;
37
37
38
38
const INSERT_IGNORE = 2 ;
39
-
39
+
40
40
/** Strategy for updating data in table. See https://dev.mysql.com/doc/refman/5.7/en/replace.html */
41
41
const REPLACE = 4 ;
42
42
@@ -258,7 +258,7 @@ public function renameTable($oldTableName, $newTableName, $schemaName = null);
258
258
*
259
259
* @param string $tableName
260
260
* @param string $columnName
261
- * @param array|string $definition string specific or universal array DB Server definition
261
+ * @param array|string $definition string specific or universal array DB Server definition
262
262
* @param string $schemaName
263
263
* @return \Magento\Framework\DB\Adapter\AdapterInterface
264
264
*/
@@ -273,7 +273,7 @@ public function addColumn($tableName, $columnName, $definition, $schemaName = nu
273
273
* @param string $oldColumnName
274
274
* @param string $newColumnName
275
275
* @param array|string $definition
276
- * @param boolean $flushData flush table statistic
276
+ * @param boolean $flushData flush table statistic
277
277
* @param string $schemaName
278
278
* @return \Magento\Framework\DB\Adapter\AdapterInterface
279
279
*/
@@ -323,8 +323,8 @@ public function tableColumnExists($tableName, $columnName, $schemaName = null);
323
323
*
324
324
* @param string $tableName
325
325
* @param string $indexName
326
- * @param string|array $fields the table column name or array of ones
327
- * @param string $indexType the index type
326
+ * @param string|array $fields the table column name or array of ones
327
+ * @param string $indexType the index type
328
328
* @param string $schemaName
329
329
* @return \Zend_Db_Statement_Interface
330
330
*/
@@ -468,7 +468,7 @@ public function insertMultiple($table, array $data);
468
468
* array('value1', 'value2')
469
469
*
470
470
* @param string $table
471
- * @param string[] $columns the data array column map
471
+ * @param string[] $columns the data array column map
472
472
* @param array $data
473
473
* @return int
474
474
*/
@@ -550,7 +550,7 @@ public function fetchAll($sql, $bind = [], $fetchMode = null);
550
550
* @param string|\Magento\Framework\DB\Select $sql An SQL SELECT statement.
551
551
* @param mixed $bind Data to bind into SELECT placeholders.
552
552
* @param mixed $fetchMode Override current fetch mode.
553
- * @return array
553
+ * @return mixed Array, object, or scalar depending on fetch mode.
554
554
*/
555
555
public function fetchRow ($ sql , $ bind = [], $ fetchMode = null );
556
556
@@ -750,7 +750,7 @@ public function saveDdlCache($tableCacheKey, $ddlType, $data);
750
750
* Return false if cache does not exists
751
751
*
752
752
* @param string $tableCacheKey the table cache key
753
- * @param int $ddlType the DDL constant
753
+ * @param int $ddlType the DDL constant
754
754
* @return string|array|int|false
755
755
*/
756
756
public function loadDdlCache ($ tableCacheKey , $ ddlType );
@@ -864,7 +864,7 @@ public function getGreatestSql(array $data);
864
864
*
865
865
* @see INTERVAL_* constants for $unit
866
866
*
867
- * @param \Zend_Db_Expr|string $date quoted field name or SQL statement
867
+ * @param \Zend_Db_Expr|string $date quoted field name or SQL statement
868
868
* @param int $interval
869
869
* @param string $unit
870
870
* @return \Zend_Db_Expr
@@ -876,7 +876,7 @@ public function getDateAddSql($date, $interval, $unit);
876
876
*
877
877
* @see INTERVAL_* constants for $unit
878
878
*
879
- * @param \Zend_Db_Expr|string $date quoted field name or SQL statement
879
+ * @param \Zend_Db_Expr|string $date quoted field name or SQL statement
880
880
* @param int|string $interval
881
881
* @param string $unit
882
882
* @return \Zend_Db_Expr
@@ -895,7 +895,7 @@ public function getDateSubSql($date, $interval, $unit);
895
895
* %m Month, numeric (00..12)
896
896
* %Y Year, numeric, four digits
897
897
*
898
- * @param \Zend_Db_Expr|string $date quoted field name or SQL statement
898
+ * @param \Zend_Db_Expr|string $date quoted field name or SQL statement
899
899
* @param string $format
900
900
* @return \Zend_Db_Expr
901
901
*/
@@ -932,7 +932,7 @@ public function getStandardDeviationSql($expressionField);
932
932
*
933
933
* @see INTERVAL_* constants for $unit
934
934
*
935
- * @param \Zend_Db_Expr|string $date quoted field name or SQL statement
935
+ * @param \Zend_Db_Expr|string $date quoted field name or SQL statement
936
936
* @param string $unit
937
937
* @return \Zend_Db_Expr
938
938
*/
@@ -951,9 +951,9 @@ public function getTableName($tableName);
951
951
/**
952
952
* Build a trigger name based on table name and trigger details
953
953
*
954
- * @param string $tableName The table that is the subject of the trigger
955
- * @param string $time Either "before" or "after"
956
- * @param string $event The DB level event which activates the trigger, i.e. "update" or "insert"
954
+ * @param string $tableName The table that is the subject of the trigger
955
+ * @param string $time Either "before" or "after"
956
+ * @param string $event The DB level event which activates the trigger, i.e. "update" or "insert"
957
957
* @return string
958
958
*/
959
959
public function getTriggerName ($ tableName , $ time , $ event );
@@ -964,7 +964,7 @@ public function getTriggerName($tableName, $time, $event);
964
964
* Check index name length and allowed symbols
965
965
*
966
966
* @param string $tableName
967
- * @param string|array $fields the columns list
967
+ * @param string|array $fields the columns list
968
968
* @param string $indexType
969
969
* @return string
970
970
*/
0 commit comments