@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | public function progressBar($style = 'primary', $size = 'sm', $max = 100) |
263 | 263 | { |
264 | 264 | if (is_array($style)) { |
265 | - $style = array_map(function ($style) { |
|
265 | + $style = array_map(function($style) { |
|
266 | 266 | return 'progress-bar-'.$style; |
267 | 267 | }, $style); |
268 | 268 | |
@@ -470,7 +470,7 @@ discard block |
||
470 | 470 | protected function htmlEntityEncode($item) |
471 | 471 | { |
472 | 472 | if (is_array($item)) { |
473 | - array_walk_recursive($item, function (&$value) { |
|
473 | + array_walk_recursive($item, function(&$value) { |
|
474 | 474 | $value = htmlentities($value); |
475 | 475 | }); |
476 | 476 | } else { |
@@ -548,15 +548,15 @@ discard block |
||
548 | 548 | private function _resolveClassName($style) |
549 | 549 | { |
550 | 550 | if (is_array($style)) { |
551 | - $style = array_map(function ($style) { |
|
552 | - return 'btn-' . $style; |
|
551 | + $style = array_map(function($style) { |
|
552 | + return 'btn-'.$style; |
|
553 | 553 | }, $style); |
554 | 554 | |
555 | 555 | return implode(' ', $style); |
556 | 556 | } |
557 | 557 | |
558 | 558 | if (is_string($style)) { |
559 | - return 'btn-' . $style; |
|
559 | + return 'btn-'.$style; |
|
560 | 560 | } |
561 | 561 | |
562 | 562 | return $style; |