Expressed PARAM_*_ARRAY through other constants to eliminate the dependency on...

Expressed PARAM_*_ARRAY through other constants to eliminate the dependency on the actual constant values
parent 4c805843
......@@ -82,14 +82,14 @@ class Connection implements DriverConnection
*
* @var int
*/
const PARAM_INT_ARRAY = 101;
const PARAM_INT_ARRAY = ParameterType::INTEGER + self::ARRAY_PARAM_OFFSET;
/**
* Represents an array of strings to be expanded by Doctrine SQL parsing.
*
* @var int
*/
const PARAM_STR_ARRAY = 102;
const PARAM_STR_ARRAY = ParameterType::STRING + self::ARRAY_PARAM_OFFSET;
/**
* Offset by which PARAM_* constants are detected as arrays of the param type.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment