Skip to content

Commit 31173c3

Browse files
westonruterclaude
andcommitted
Add explicit return null to get_col_info() fallthrough path
When col_info is empty, the method fell through without an explicit return statement. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent a669b85 commit 31173c3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/wp-includes/class-wpdb.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3905,6 +3905,8 @@ public function get_col_info( $info_type = 'name', $col_offset = -1 ) {
39053905
return $this->col_info[ $col_offset ]->{$info_type};
39063906
}
39073907
}
3908+
3909+
return null;
39083910
}
39093911

39103912
/**

0 commit comments

Comments
 (0)