Skip to content

Commit c482551

Browse files
rodrigoprimojrfnl
andauthored
Apply suggestions from code review
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
1 parent e3217bc commit c482551

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPress/Sniffs/Arrays/ArrayDeclarationSpacingSniff.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ protected function process_single_line_array( $stackPtr, $opener, $closer ) {
137137
if ( false === $array_has_keys ) {
138138
return;
139139
}
140-
$error = 'When an array has explicit keys, each value should start on %s.';
140+
$error = 'When an array is declared with explicit keys, each value should start on %s.';
141141
if ( true === $this->allow_single_item_single_line_associative_arrays ) {
142-
$error = 'When a multi-item array has explicit keys, each value should start on %s.';
142+
$error = 'When a multi-item array is declared with explicit keys, each value should start on %s.';
143143
}
144144

145145
/*

0 commit comments

Comments
 (0)