Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libchart/classes/view/color/Color.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Color {
* @param integer blue [0..255]
* @param integer alpha [0..255]
*/
public function Color($red, $green, $blue, $alpha = 0) {
public function __construct($red, $green, $blue, $alpha = 0) {
$this->red = (int) $red;
$this->green = (int) $green;
$this->blue = (int) $blue;
Expand Down Expand Up @@ -96,4 +96,4 @@ public function getShadowColor($shadowFactor) {
return $shadowColor;
}
}
?>
?>