Skip to content

Commit bfa2dc1

Browse files
committed
Fix phpcs issue
1 parent 76a9fac commit bfa2dc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Site_Command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,8 @@ public function generate( $args, $assoc_args ) {
608608
}
609609

610610
for ( $index = 1; $index <= $limit; $index++ ) {
611-
$current_base = $base . $index;
612-
$title = ucfirst( $base ) . ' ' . $index;
611+
$current_base = $base . $index;
612+
$title = ucfirst( $base ) . ' ' . $index;
613613

614614
if ( $is_subdomain_install ) {
615615
$new_domain = $current_base . '.' . preg_replace( '|^www\.|', '', $network->domain );
@@ -635,7 +635,7 @@ public function generate( $args, $assoc_args ) {
635635
$notify->tick();
636636
} else {
637637
echo $id;
638-
if ( $index < $limit -1 ) {
638+
if ( $index < $limit - 1 ) {
639639
echo ' ';
640640
}
641641
}

0 commit comments

Comments
 (0)