style: auto-fix PHPCS violations via phpcbf

This commit is contained in:
peptiderepo
2026-06-23 06:59:37 +00:00
parent baae383c76
commit b05c873b64
2 changed files with 7 additions and 4 deletions

View File

@@ -59,7 +59,10 @@ class PRAutoBlogger_Gen_History_Query {
public function get_page( int $page = 1, int $per_page = self::PAGE_SIZE ): array { public function get_page( int $page = 1, int $per_page = self::PAGE_SIZE ): array {
global $wpdb; global $wpdb;
if ( null === $wpdb ) { if ( null === $wpdb ) {
return array( 'rows' => array(), 'total' => 0 ); return array(
'rows' => array(),
'total' => 0,
);
} }
$per_page = min( max( 1, $per_page ), self::PAGE_SIZE_MAX ); $per_page = min( max( 1, $per_page ), self::PAGE_SIZE_MAX );