diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:55:19 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:55:19 +0100 |
| commit | 1721544d5a71c0f3b4bc3b498893a65f4d9f1c84 (patch) | |
| tree | 6a44ae4720a0190927a836911ce28aa67604a0e5 /css_lib.php | |
| parent | 8225200c6470d1abe939ca007b5915c82c601016 (diff) | |
| download | themes-1721544d5a71c0f3b4bc3b498893a65f4d9f1c84.tar.gz themes-1721544d5a71c0f3b4bc3b498893a65f4d9f1c84.tar.bz2 themes-1721544d5a71c0f3b4bc3b498893a65f4d9f1c84.zip | |
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'css_lib.php')
| -rwxr-xr-x | css_lib.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/css_lib.php b/css_lib.php index 8d96d62..6aeb5ae 100755 --- a/css_lib.php +++ b/css_lib.php @@ -32,7 +32,7 @@ class cssLib extends BitBase { function browse_css($path) { if (!is_file($path)) { - return array("error" => "No such file : $path"); + return ["error" => "No such file : $path"]; } $meat = implode("", file($path)); @@ -59,10 +59,10 @@ class cssLib extends BitBase { $repl[6] = "#000000"; $res = preg_replace($find, $repl, $meat); - return array( + return [ "error" => '', - "content" => split("\n", $res) - ); + "content" => split("\n", $res), + ]; } function parse_css($data) { |
