This commit is contained in:
proelements
2025-12-29 10:01:13 +02:00
parent ce77bab1a1
commit 9bdad9d028
319 changed files with 1925 additions and 658 deletions

View File

@@ -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 );