From eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Tue, 21 Apr 2020 18:57:18 +0200 Subject: correct warning psr 12 : 120 characters lines --- app/class/Modelfont.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/class/Modelfont.php') diff --git a/app/class/Modelfont.php b/app/class/Modelfont.php index 4353b1c..be8de81 100644 --- a/app/class/Modelfont.php +++ b/app/class/Modelfont.php @@ -69,7 +69,10 @@ class Modelfont extends Model { $fontface = ''; foreach ($fontlist as $font) { - $fontface .= '@font-face {' . PHP_EOL . 'font-family: ' . $font['id'] . ';' . PHP_EOL . ' src: url( ' . Model::fontpath() . $font['id'] . '.' . $font['ext'] . ');' . PHP_EOL . '}' . PHP_EOL . PHP_EOL; + $fontface .= '@font-face {\n + font-family: ' . $font['id'] . ';\n + src: url( ' . Model::fontpath() . $font['id'] . '.' . $font['ext'] . '); + }\n\n'; } return $fontface; } -- cgit v1.2.3