Skip to content

Commit

Permalink
Missed a few concatenation spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Feb 15, 2015
1 parent e06d363 commit bbe84df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/CMB2_Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public function concat_items( $args = array() ) {
* @return string Generated option element html
*/
public function select_option( $args = array() ) {
return sprintf( "\t".'<option value="%s" %s>%s</option>', $args['value'], selected( isset( $args['checked'] ) && $args['checked'], true, false ), $args['label'] )."\n";
return sprintf( "\t" . '<option value="%s" %s>%s</option>', $args['value'], selected( isset( $args['checked'] ) && $args['checked'], true, false ), $args['label'] ) . "\n";
}

/**
Expand All @@ -250,7 +250,7 @@ public function list_input( $args = array(), $i ) {
'label' => '',
) );

return sprintf( "\t".'<li><input%s/> <label for="%s">%s</label></li>'."\n", $this->concat_attrs( $a, array( 'label' ) ), $a['id'], $a['label'] );
return sprintf( "\t" . '<li><input%s/> <label for="%s">%s</label></li>' . "\n", $this->concat_attrs( $a, array( 'label' ) ), $a['id'], $a['label'] );
}

/**
Expand Down Expand Up @@ -371,7 +371,7 @@ public function _desc( $paragraph = false, $echo = false, $repeat_group = false
}

$tag = $paragraph ? 'p' : 'span';
$desc = sprintf( "\n".'<%1$s class="cmb2-metabox-description">%2$s</%1$s>'."\n", $tag, $desc );
$desc = sprintf( "\n" . '<%1$s class="cmb2-metabox-description">%2$s</%1$s>' . "\n", $tag, $desc );

if ( $echo ) {
echo $desc;
Expand Down

0 comments on commit bbe84df

Please sign in to comment.