Skip to content

Commit def2f81

Browse files
committed
Invoke the column metadata resolver directly
1 parent 2e2e2a6 commit def2f81

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎packages/mysql-on-sqlite/src/sqlite/class-wp-mysql-on-sqlite-statement.php‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,7 @@ public function debugDumpParams(): ?bool {
411411
*/
412412
private function getColumnMetadata( $column ) {
413413
if ( ! array_key_exists( $column, $this->resolved_column_meta ) ) {
414-
$this->resolved_column_meta[ $column ] = call_user_func(
415-
$this->column_meta_resolver,
416-
$column
417-
);
414+
$this->resolved_column_meta[ $column ] = ( $this->column_meta_resolver )( $column );
418415
}
419416
return $this->resolved_column_meta[ $column ];
420417
}

0 commit comments

Comments
 (0)