Skip to content

Commit 0c2563a

Browse files
dingo-djrfnl
andauthored
Update wordpress-coding-standards/php.md
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
1 parent 1b6b4aa commit 0c2563a

File tree

1 file changed

+1
-1
lines changed
  • wordpress-coding-standards

1 file changed

+1
-1
lines changed

wordpress-coding-standards/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ In a `switch` statement, it's okay to have multiple empty cases fall through to
559559
switch ( $foo ) {
560560
case 'bar': // Correct, an empty case can fall through without comment.
561561
case 'baz':
562-
echo esc_html( $foo ); // Incorrect, a case with a block must break, return, or have a comment.
562+
echo esc_html( $foo ); // Incorrect, a case with a block must break, return, or have a comment.
563563
case 'cat':
564564
echo 'mouse';
565565
break; // Correct, a case with a break does not require a comment.

0 commit comments

Comments
 (0)