fix: PHPCS violations in brand components (Yoda conditions, array formatting, PHP tag)

This commit is contained in:
peptiderepo
2026-04-25 20:02:23 +00:00
parent e23c141009
commit 2bb686a348
4 changed files with 25 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ for ( $i = 1; $i <= 3; $i++ ) {
$signal_text = get_post_meta( $post_id, 'signal_row_' . $i, true );
if ( ! empty( $signal_text ) ) {
$signals[] = array(
'glyph' => $i === 1 ? '✓' : ( $i === 2 ? '!' : '?' ),
'glyph' => 1 === $i ? '✓' : ( 2 === $i ? '!' : '?' ),
'label' => $signal_text,
);
}