Skip to content

Commit

Permalink
fix PSR2
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Day committed Mar 15, 2016
1 parent 67fb9e2 commit 7a84e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpPresentation/Style/Color.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function getAlpha()
{
$alpha = 100;
if (strlen($this->argb) >= 6) {
$dec = hexdec(substr($this->argb,0,2));
$dec = hexdec(substr($this->argb, 0, 2));
$alpha = number_format(( $dec/255 ) * 100, 2);
}
return $alpha;
Expand Down

0 comments on commit 7a84e3b

Please sign in to comment.