| @@ -93,9 +93,9 @@ | ||
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | 95 | * @see wpdb::get_col |
| 96 | 96 | */ |
| 97 | - public function getColumn(?string $query = null, int $column = 0): array | |
| 97 | + public function getColumn(string $query = null, int $column = 0): array | |
| 98 | 98 | { |
| 99 | 99 | return $this->wpDatabase->get_col($query, $column); |
| 100 | 100 | } |
| 101 | 101 | |
| @@ -101,9 +101,9 @@ | ||
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * @see wpdb::get_row |
| 104 | 104 | */ |
| 105 | - public function getRow(?string $query = null, string $output = OBJECT, int $row = 0): object|array|null | |
| 105 | + public function getRow(string $query = null, string $output = OBJECT, int $row = 0): object|array|null | |
| 106 | 106 | { |
| 107 | 107 | return $this->wpDatabase->get_row($query, $output, $row); |
| 108 | 108 | } |
| 109 | 109 | |
| @@ -109,9 +109,9 @@ | ||
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | 111 | * @see wpdb::get_var |
| 112 | 112 | */ |
| 113 | - public function getVariable(?string $query = null, int $column = 0, int $row = 0): int|string|null | |
| 113 | + public function getVariable(string $query = null, int $column = 0, int $row = 0): int|string|null | |
| 114 | 114 | { |
| 115 | 115 | return $this->wpDatabase->get_var($query, $column, $row); |
| 116 | 116 | } |
| 117 | 117 | |
| @@ -117,9 +117,9 @@ | ||
| 117 | 117 | |
| 118 | 118 | /** |
| 119 | 119 | * @see wpdb::get_blog_prefix |
| 120 | 120 | */ |
| 121 | - public function getBlogPrefix(int|string|null $blogId = null): string | |
| 121 | + public function getBlogPrefix(int $blogId = null): string | |
| 122 | 122 | { |
| 123 | 123 | return $this->wpDatabase->get_blog_prefix($blogId); |
| 124 | 124 | } |
| 125 | 125 | |
| @@ -141,9 +141,9 @@ | ||
| 141 | 141 | |
| 142 | 142 | /** |
| 143 | 143 | * @see wpdb::get_results |
| 144 | 144 | */ |
| 145 | - public function getResults(?string $query = null, string $output = OBJECT): object|array|null | |
| 145 | + public function getResults(string $query = null, string $output = OBJECT): object|array|null | |
| 146 | 146 | { |
| 147 | 147 | return $this->wpDatabase->get_results($query, $output); |
| 148 | 148 | } |
| 149 | 149 | |