@@ -105,7 +105,7 @@ |
||
105 | 105 | */ |
106 | 106 | protected function decodeUtf8HtmlEntities($html) |
107 | 107 | { |
108 | - return preg_replace_callback('/(&#[0-9]+;)/', function ($html) { |
|
108 | + return preg_replace_callback('/(&#[0-9]+;)/', function($html) { |
|
109 | 109 | return mb_convert_encoding($html[1], 'UTF-8', 'HTML-ENTITIES'); |
110 | 110 | }, $html); |
111 | 111 | } |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | protected function htmlEntityEncode($item) |
237 | 237 | { |
238 | 238 | if (is_array($item)) { |
239 | - array_walk_recursive($item, function (&$value) { |
|
239 | + array_walk_recursive($item, function(&$value) { |
|
240 | 240 | $value = htmlentities($value); |
241 | 241 | }); |
242 | 242 | } else { |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | public function button($style = 'default') |
322 | 322 | { |
323 | 323 | if (is_array($style)) { |
324 | - $style = array_map(function ($style) { |
|
324 | + $style = array_map(function($style) { |
|
325 | 325 | return 'btn-'.$style; |
326 | 326 | }, $style); |
327 | 327 | |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | public function progressBar($style = 'primary', $size = 'sm', $max = 100) |
350 | 350 | { |
351 | 351 | if (is_array($style)) { |
352 | - $style = array_map(function ($style) { |
|
352 | + $style = array_map(function($style) { |
|
353 | 353 | return 'progress-bar-'.$style; |
354 | 354 | }, $style); |
355 | 355 |