We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16f34c0 commit af65c02Copy full SHA for af65c02
src/TypeMapping/MysqliTypeMapper.php
@@ -28,7 +28,7 @@ final class MysqliTypeMapper
28
public function __construct(?DbaApi $dbaApi)
29
{
30
$constants = get_defined_constants(true);
31
- foreach ($constants['mysqli'] as $c => $n) {
+ foreach ((array) $constants['mysqli'] as $c => $n) {
32
if (! \is_int($n)) {
33
// skip bool constants like MYSQLI_IS_MARIADB
34
continue;
0 commit comments