Completed
Push — master ( 590f19...e9017e )
by Song
02:37
created
src/Middleware/PjaxMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Grid/Column.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.