| Total Complexity | 5 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class DbalUtils |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * If a parameter is an array (used in a "IN" statement), we need to tell Doctrine about it. |
||
| 17 | * @see https://www.doctrine-project.org/projects/doctrine-dbal/en/2.9/reference/data-retrieval-and-manipulation.html#list-of-parameters-conversion |
||
| 18 | * @param array<string, mixed> $parameters |
||
| 19 | * @return array<string, int> |
||
| 20 | */ |
||
| 21 | public static function generateArrayTypes(array $parameters): array |
||
| 39 |