@@ -52,12 +52,12 @@ class Csscolor {
52
52
//==================================================
53
53
//==CONSTRUCTOR=====================================
54
54
//==================================================
55
- public static function make ($ bgHex , $ fgHex ='' )
55
+ public static function make ($ bgHex= '' , $ fgHex ='' )
56
56
{
57
57
return new self ($ bgHex , $ fgHex );
58
58
}
59
59
60
- public function __construct ($ bgHex , $ fgHex ='' ) {
60
+ public function __construct ($ bgHex= '' , $ fgHex ='' ) {
61
61
// This is the constructor method for the class,
62
62
// which is called when a new object is created.
63
63
@@ -68,7 +68,7 @@ public function __construct($bgHex, $fgHex='') {
68
68
// Initialize the palette
69
69
$ this ->setPalette ($ bgHex , $ fgHex );
70
70
}
71
-
71
+
72
72
/*
73
73
function Csscolor($bgHex, $fgHex='') {
74
74
// This is the constructor method for the class,
@@ -88,7 +88,7 @@ function Csscolor($bgHex, $fgHex='') {
88
88
//==================================================
89
89
90
90
//--------------------------------------------------
91
- function setPalette ($ bgHex , $ fgHex = '' )
91
+ function setPalette ($ bgHex= '' , $ fgHex = '' )
92
92
{
93
93
// Initialize the color palettes
94
94
0 commit comments