Skip to content
Prev Previous commit
Next Next commit
Fix phpcs issue
  • Loading branch information
i-am-chitti committed Apr 26, 2024
commit bfa2dc1d0d170e53a2a6202b07cdc29f881c26de
6 changes: 3 additions & 3 deletions src/Site_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,8 @@ public function generate( $args, $assoc_args ) {
}

for ( $index = 1; $index <= $limit; $index++ ) {
$current_base = $base . $index;
$title = ucfirst( $base ) . ' ' . $index;
$current_base = $base . $index;
$title = ucfirst( $base ) . ' ' . $index;

if ( $is_subdomain_install ) {
$new_domain = $current_base . '.' . preg_replace( '|^www\.|', '', $network->domain );
Expand All @@ -635,7 +635,7 @@ public function generate( $args, $assoc_args ) {
$notify->tick();
} else {
echo $id;
if ( $index < $limit -1 ) {
if ( $index < $limit - 1 ) {
echo ' ';
}
}
Expand Down