1
0
mirror of https://github.com/shuchkin/simplexlsxgen.git synced 2023-08-10 21:12:59 +03:00

Color Code Clean Up

This commit is contained in:
mrjemson 2022-04-22 18:03:17 +10:00 committed by GitHub
parent d84c842d38
commit fc884044ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,6 @@ class SimpleXLSXGen {
$this->F = [ self::F_NORMAL ]; // fonts $this->F = [ self::F_NORMAL ]; // fonts
$this->F_KEYS = [0]; // & keys $this->F_KEYS = [0]; // & keys
$this->C = [ self::C_NORMAL ]; // $this->C = [ self::C_NORMAL ]; //
$this->C_KEYS = [0]; // & keys
$this->XF = [ [self::N_NORMAL, self::F_NORMAL, self::A_DEFAULT, self::C_NORMAL] ]; // styles $this->XF = [ [self::N_NORMAL, self::F_NORMAL, self::A_DEFAULT, self::C_NORMAL] ]; // styles
$this->XF_KEYS = ['N0F0A0C0' => 0 ]; // & keys $this->XF_KEYS = ['N0F0A0C0' => 0 ]; // & keys
@ -561,7 +560,8 @@ class SimpleXLSXGen {
} }
if ( $cv === false ) { if ( $cv === false ) {
$this->SI[] = $v; $this->SI[] = $v;
$cv = count( $this->SI ) - 1; $this->SI_KEYS[ $skey ] = $cv; $cv = count( $this->SI ) - 1;
$this->SI_KEYS[ $skey ] = $cv;
$this->SI_KEYS[ $skey ] = $cv; $this->SI_KEYS[ $skey ] = $cv;
} }
} }