Skip to content

Commit af65c02

Browse files
committed
Fix PHPStan errors
1 parent 16f34c0 commit af65c02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TypeMapping/MysqliTypeMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class MysqliTypeMapper
2828
public function __construct(?DbaApi $dbaApi)
2929
{
3030
$constants = get_defined_constants(true);
31-
foreach ($constants['mysqli'] as $c => $n) {
31+
foreach ((array) $constants['mysqli'] as $c => $n) {
3232
if (! \is_int($n)) {
3333
// skip bool constants like MYSQLI_IS_MARIADB
3434
continue;

0 commit comments

Comments
 (0)