mirror of
https://github.com/proelements/proelements.git
synced 2026-04-06 04:13:48 +00:00
v3.34.0
This commit is contained in:
@@ -26,7 +26,7 @@ class Model_Query_Builder extends Query_Builder {
|
||||
* @param string $model_classname - Model to use inside the builder.
|
||||
* @param \wpdb|null $connection - MySQL connection.
|
||||
*/
|
||||
public function __construct( $model_classname, \wpdb $connection = null ) {
|
||||
public function __construct( $model_classname, ?\wpdb $connection = null ) {
|
||||
$this->set_model( $model_classname );
|
||||
|
||||
parent::__construct( $connection );
|
||||
|
||||
Reference in New Issue
Block a user