style: run rector
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
idevakk
2026-03-03 01:54:26 +05:30
parent ba8d5d027b
commit 083bf63e18
2 changed files with 3 additions and 3 deletions

View File

@@ -193,7 +193,7 @@ class PanelSettings extends AbstractPageSettings
->rgb()
->regex('/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/')
->live()
->afterStateUpdated(function ($state, callable $set): void {
->afterStateUpdated(function (string $state, callable $set): void {
$shades = ColorHelper::generateOklchFromRGBShades($state);
$set('panel_color_shade_' . $this->getPanelID(), $shades ?? '// Invalid RGB');
})