Skip to content

Commit 3bdc8e9

Browse files
committed
Merge branch 'master' into develop
2 parents 4153597 + 7f35988 commit 3bdc8e9

File tree

6 files changed

+2175
-200
lines changed

6 files changed

+2175
-200
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Büro für Gestaltung
3+
Copyright (c) 2019-2021 Büro für Gestaltung
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Converter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function convertDecimalToHex($number, $pad = true)
138138
$hex = dechex(round($number));
139139

140140
if ($pad) {
141-
$hex = str_pad($hex, 2, '0');
141+
$hex = str_pad($hex, 2, '0', STR_PAD_LEFT);
142142
}
143143

144144
return $hex;

0 commit comments

Comments
 (0)