@@ -14,16 +14,16 @@ |
||
| 14 | 14 | public function providerParameterTypeInferer() |
| 15 | 15 | { |
| 16 | 16 | $data = [ |
| 17 | - [1, Type::INTEGER], |
|
| 18 | - ["bar", PDO::PARAM_STR], |
|
| 19 | - ["1", PDO::PARAM_STR], |
|
| 20 | - [new \DateTime, Type::DATETIME], |
|
| 17 | + [1, Type::INTEGER], |
|
| 18 | + ["bar", PDO::PARAM_STR], |
|
| 19 | + ["1", PDO::PARAM_STR], |
|
| 20 | + [new \DateTime, Type::DATETIME], |
|
| 21 | 21 | [new \DateInterval('P1D'), Type::DATEINTERVAL], |
| 22 | - [[2], Connection::PARAM_INT_ARRAY], |
|
| 23 | - [["foo"], Connection::PARAM_STR_ARRAY], |
|
| 24 | - [["1","2"], Connection::PARAM_STR_ARRAY], |
|
| 25 | - [[], Connection::PARAM_STR_ARRAY], |
|
| 26 | - [true, Type::BOOLEAN], |
|
| 22 | + [[2], Connection::PARAM_INT_ARRAY], |
|
| 23 | + [["foo"], Connection::PARAM_STR_ARRAY], |
|
| 24 | + [["1", "2"], Connection::PARAM_STR_ARRAY], |
|
| 25 | + [[], Connection::PARAM_STR_ARRAY], |
|
| 26 | + [true, Type::BOOLEAN], |
|
| 27 | 27 | ]; |
| 28 | 28 | |
| 29 | 29 | if (PHP_VERSION_ID >= 50500) { |