Completed
Push — master ( d18bf0...406218 )
by Basil
03:01
created
core/console/commands/HealthController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Yii;
6 6
 use yii\helpers\FileHelper;
7
-
8 7
 use yii\imagine\Image;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
core/web/UrlManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace luya\web;
4 4
 
5 5
 use Yii;
6
-
7 6
 use yii\web\BadRequestHttpException;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
core/helpers/XLSXWriter.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -474,9 +474,11 @@
 block discarded – undo
474 474
             $style = @json_decode($style_json_string, $as_assoc = true);
475 475
 
476 476
             $style_indexes[$i] = array('num_fmt_idx' => $number_format_idx);//initialize entry
477
-            if (isset($style['border']) && is_string($style['border']))//border is a comma delimited str
477
+            if (isset($style['border']) && is_string($style['border'])) {
478
+                //border is a comma delimited str
478 479
             {
479 480
                 $border_value['side'] = array_intersect(explode(",", $style['border']), $border_allowed);
481
+            }
480 482
                 if (isset($style['border-style']) && in_array($style['border-style'], $border_style_allowed)) {
481 483
                     $border_value['style'] = $style['border-style'];
482 484
                 }
Please login to merge, or discard this patch.