aboutsummaryrefslogtreecommitdiff
path: root/app/class/Modelfont.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-21 18:57:18 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-21 18:57:18 +0200
commiteba4d7aa0ee5ea1bcb29e8254c28a272023ea54f (patch)
tree252d23b7713f364e7f7efafdd4f333188ceac5fa /app/class/Modelfont.php
parent6984e737b706c73baaa5c3c921762706f958d4da (diff)
downloadwcms-eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f.tar.gz
wcms-eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f.zip
correct warning psr 12 : 120 characters lines
Diffstat (limited to 'app/class/Modelfont.php')
-rw-r--r--app/class/Modelfont.php5
1 files changed, 4 insertions, 1 deletions
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;
}