@@ -478,10 +478,10 @@ protected static function parseCell($node, $element, &$styles)
478
478
}
479
479
$ beforespan = $ node ->getAttribute ('beforespan ' );
480
480
if (!empty ($ beforespan )) {
481
- $ cellRowContinue = array ( 'vMerge ' => 'continue ' ) ;
481
+ $ cellRowContinue = [ 'vMerge ' => 'continue ' ] ;
482
482
$ beforecolspan = $ node ->getAttribute ('beforecolspan ' );
483
483
484
- for ($ s = 1 ; $ s <= $ beforespan ; $ s ++) {
484
+ for ($ s = 1 ; $ s <= $ beforespan ; ++ $ s ) {
485
485
if (!empty ($ beforecolspan )) {
486
486
if (is_numeric ($ beforecolspan )) {
487
487
$ beforecolspan = (int ) $ beforecolspan ;
@@ -502,10 +502,10 @@ protected static function parseCell($node, $element, &$styles)
502
502
503
503
$ afterspan = $ node ->getAttribute ('afterspan ' );
504
504
if (!empty ($ afterspan )) {
505
- $ cellRowContinue = array ( 'vMerge ' => 'continue ' ) ;
505
+ $ cellRowContinue = [ 'vMerge ' => 'continue ' ] ;
506
506
$ aftercolspan = $ node ->getAttribute ('aftercolspan ' );
507
507
508
- for ($ s = 1 ; $ s <= $ afterspan ; $ s ++ ) {
508
+ for ($ s = 1 ; $ s <= $ afterspan ; ++ $ s ) {
509
509
if (!empty ($ aftercolspan )) {
510
510
if (is_numeric ($ aftercolspan )) {
511
511
$ aftercolspan = (int ) $ aftercolspan ;
@@ -515,7 +515,7 @@ protected static function parseCell($node, $element, &$styles)
515
515
}
516
516
$ cellRowContinue ['gridSpan ' ] = $ aftercolspan ;
517
517
}
518
- $ element ->addCell (null ,$ cellRowContinue );
518
+ $ element ->addCell (null , $ cellRowContinue );
519
519
}
520
520
}
521
521
0 commit comments