diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-21 18:57:18 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-21 18:57:18 +0200 |
commit | eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f (patch) | |
tree | 252d23b7713f364e7f7efafdd4f333188ceac5fa /app/class/Colors.php | |
parent | 6984e737b706c73baaa5c3c921762706f958d4da (diff) | |
download | wcms-eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f.tar.gz wcms-eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f.zip |
correct warning psr 12 : 120 characters lines
Diffstat (limited to 'app/class/Colors.php')
-rw-r--r-- | app/class/Colors.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/class/Colors.php b/app/class/Colors.php index 06875b5..234adb2 100644 --- a/app/class/Colors.php +++ b/app/class/Colors.php @@ -88,7 +88,9 @@ class Colors extends Item { $html = '<ul>'; foreach ($this->tagcolor as $tag => $color) { - $html .= PHP_EOL . '<li><input type="color" name="tagcolor[' . $tag . ']" value="' . $color . '" id="color_' . $tag . '"><label for="color_' . $tag . '" >' . $tag . '</label></li>'; + $i = '<input type="color" name="tagcolor[' . $tag . ']" value="' . $color . '" id="color_' . $tag . '">'; + $l = '<label for="color_' . $tag . '" >' . $tag . '</label>'; + $html .= '\n<li>' . $i . $l . '</li>'; } $html .= PHP_EOL . '</ul>'; return $html; |