Skip to content

Commit 37e63ea

Browse files
committed
Update dependencies
1 parent ae2fd40 commit 37e63ea

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.3
1+
2.2.4

src/Spot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function getSpotColors(): array
193193
*/
194194
public function normalizeSpotColorName(string $name): string
195195
{
196-
$ret = preg_replace('/[^a-z0-9]*/', '', strtolower($name));
196+
$ret = preg_replace('/[^a-z0-9]*+/', '', strtolower($name));
197197
return $ret ?? '';
198198
}
199199

src/Web.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public function normalizeValue(mixed $value, int $max): float
336336
*/
337337
public function getColorObj(string $color): ?\Com\Tecnick\Color\Model
338338
{
339-
$color = preg_replace('/[\s]*/', '', strtolower($color));
339+
$color = preg_replace('/[\s]*+/', '', strtolower($color));
340340
if (empty($color) || (strpos($color, 'transparent') !== false)) {
341341
return null;
342342
}

0 commit comments

Comments
 (0)