Skip to content

Commit 6e040c4

Browse files
committed
Update shopware-connection-profiler.php
1 parent dcd523c commit 6e040c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/PHPStan/Analyser/nsrt/shopware-connection-profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function getGroupedQueries(): void
2929
$connectionGroupedQueries[$key]['index'] = $i; // "Explain query" relies on query index in 'queries'.
3030
}
3131

32-
assertType("array<string, array{sql: string, executionMS: 0, types: array<int|string, int|Shopware\Core\Profiling\Doctrine\ParameterType>, count: 0, index: int}|array{sql: string, executionMS: float, types: array<int|string, int|Shopware\Core\Profiling\Doctrine\ParameterType>, count: int<1, max>, index: int}>", $connectionGroupedQueries);
32+
assertType("non-empty-array<string, array{sql: string, executionMS: 0, types: array<int|string, int|Shopware\Core\Profiling\Doctrine\ParameterType>, count: 0, index: int}|array{sql: string, executionMS: float, types: array<int|string, int|Shopware\Core\Profiling\Doctrine\ParameterType>, count: int<1, max>, index: int}>", $connectionGroupedQueries);
3333
$connectionGroupedQueries[$key]['executionMS'] += $query['executionMS'];
3434
assertType("non-empty-array<string, array{sql: string, executionMS: float, types: array<int|string, int|Shopware\Core\Profiling\Doctrine\ParameterType>, count: int<0, max>, index: int}>", $connectionGroupedQueries);
3535
++$connectionGroupedQueries[$key]['count'];

0 commit comments

Comments
 (0)