@@ -19,12 +19,12 @@ interface Statement extends ResultStatement
1919 * As mentioned above, the named parameters are not natively supported by the mysqli driver, use executeQuery(),
2020 * fetchAll(), fetchArray(), fetchColumn(), fetchAssoc() methods to have the named parameter emulated by doctrine.
2121 *
22- * @param mixed $param Parameter identifier. For a prepared statement using named placeholders,
23- * this will be a parameter name of the form :name. For a prepared statement
24- * using question mark placeholders, this will be the 1-indexed position of the parameter.
25- * @param mixed $value The value to bind to the parameter.
26- * @param int $type Explicit data type for the parameter using the {@link \Doctrine\DBAL\ParameterType}
27- * constants.
22+ * @param string|int $param Parameter identifier. For a prepared statement using named placeholders,
23+ * this will be a parameter name of the form :name. For a prepared statement
24+ * using question mark placeholders, this will be the 1-indexed position of the parameter.
25+ * @param mixed $value The value to bind to the parameter.
26+ * @param int $type Explicit data type for the parameter using the {@link \Doctrine\DBAL\ParameterType}
27+ * constants.
2828 *
2929 * @return bool TRUE on success or FALSE on failure.
3030 */
@@ -44,14 +44,14 @@ public function bindValue($param, $value, $type = ParameterType::STRING);
4444 * of stored procedures that return data as output parameters, and some also as input/output
4545 * parameters that both send in data and are updated to receive it.
4646 *
47- * @param mixed $column Parameter identifier. For a prepared statement using named placeholders,
48- * this will be a parameter name of the form :name. For a prepared statement using
49- * question mark placeholders, this will be the 1-indexed position of the parameter.
50- * @param mixed $variable Name of the PHP variable to bind to the SQL statement parameter.
51- * @param int $type Explicit data type for the parameter using the {@link \Doctrine\DBAL\ParameterType}
52- * constants.
53- * @param int|null $length You must specify maxlength when using an OUT bind
54- * so that PHP allocates enough memory to hold the returned value.
47+ * @param string|int $column Parameter identifier. For a prepared statement using named placeholders,
48+ * this will be a parameter name of the form :name. For a prepared statement using
49+ * question mark placeholders, this will be the 1-indexed position of the parameter.
50+ * @param mixed $variable Name of the PHP variable to bind to the SQL statement parameter.
51+ * @param int $type Explicit data type for the parameter using the {@link \Doctrine\DBAL\ParameterType}
52+ * constants.
53+ * @param int|null $length You must specify maxlength when using an OUT bind
54+ * so that PHP allocates enough memory to hold the returned value.
5555 *
5656 * @return bool TRUE on success or FALSE on failure.
5757 */
0 commit comments