Skip to content

Commit 9e68ecd

Browse files
committed
Fix more PHPCS nags
1 parent 2c2abd5 commit 9e68ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

class-wp-bootstrap-navwalker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0
267267
$title = self::wrap_for_screen_reader( $title );
268268
$keys_to_unset = array_keys( $linkmod_classes, 'sr-only' );
269269
foreach ( $keys_to_unset as $k ) {
270-
unset( $linkmod_classes[ $k ] );
270+
unset( $linkmod_classes[ $k ] );
271271
}
272272
}
273273

@@ -499,7 +499,7 @@ private function update_atts_for_linkmod_type( $atts = array(), $linkmod_classes
499499
* @return string the string wrapped in a span with the class.
500500
*/
501501
private function wrap_for_screen_reader( $text = '' ) {
502-
if ( $text ){
502+
if ( $text ) {
503503
$text = '<span class="sr-only">' . $text . '</span>';
504504
}
505505
return $text;

0 commit comments

Comments
 (0)