@@ -1453,11 +1453,11 @@ private function _escape_identifier_value( $identifier ) {
14531453 * individual arguments.
14541454 * @param mixed ...$args Further variables to substitute into the query's placeholders
14551455 * if being called with individual arguments.
1456- * @return string|void Sanitized query string, if there is a query to prepare.
1456+ * @return string|null Sanitized query string, if there is a query to prepare.
14571457 */
14581458 public function prepare ( $ query , ...$ args ) {
14591459 if ( is_null ( $ query ) ) {
1460- return ;
1460+ return null ;
14611461 }
14621462
14631463 /*
@@ -2117,7 +2117,7 @@ public function parse_db_host( $host ) {
21172117 * @since 3.9.0
21182118 *
21192119 * @param bool $allow_bail Optional. Allows the function to bail. Default true.
2120- * @return bool|void True if the connection is up.
2120+ * @return bool True if the connection is up.
21212121 */
21222122 public function check_connection ( $ allow_bail = true ) {
21232123 // Check if the connection is alive.
@@ -3056,7 +3056,7 @@ public function get_var( $query = null, $x = 0, $y = 0 ) {
30563056 * correspond to an stdClass object, an associative array, or a numeric array,
30573057 * respectively. Default OBJECT.
30583058 * @param int $y Optional. Row to return. Indexed from 0. Default 0.
3059- * @return array|object|null|void Database query result in format specified by $output or null on failure.
3059+ * @return array|object|null Database query result in format specified by $output or null on failure.
30603060 */
30613061 public function get_row ( $ query = null , $ output = OBJECT , $ y = 0 ) {
30623062 $ this ->func_call = "\$db->get_row( \"$ query \", $ output, $ y) " ;
0 commit comments