@@ -52,12 +52,12 @@ class Csscolor {
5252 //==================================================
5353 //==CONSTRUCTOR=====================================
5454 //==================================================
55- public static function make ($ bgHex , $ fgHex ='' )
55+ public static function make ($ bgHex= '' , $ fgHex ='' )
5656 {
5757 return new self ($ bgHex , $ fgHex );
5858 }
5959
60- public function __construct ($ bgHex , $ fgHex ='' ) {
60+ public function __construct ($ bgHex= '' , $ fgHex ='' ) {
6161 // This is the constructor method for the class,
6262 // which is called when a new object is created.
6363
@@ -68,7 +68,7 @@ public function __construct($bgHex, $fgHex='') {
6868 // Initialize the palette
6969 $ this ->setPalette ($ bgHex , $ fgHex );
7070 }
71-
71+
7272/*
7373 function Csscolor($bgHex, $fgHex='') {
7474 // This is the constructor method for the class,
@@ -88,7 +88,7 @@ function Csscolor($bgHex, $fgHex='') {
8888 //==================================================
8989
9090 //--------------------------------------------------
91- function setPalette ($ bgHex , $ fgHex = '' )
91+ function setPalette ($ bgHex= '' , $ fgHex = '' )
9292 {
9393 // Initialize the color palettes
9494
0 commit comments