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/Element.php | |
parent | 6984e737b706c73baaa5c3c921762706f958d4da (diff) | |
download | wcms-eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f.tar.gz wcms-eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f.zip |
correct warning psr 12 : 120 characters lines
Diffstat (limited to 'app/class/Element.php')
-rw-r--r-- | app/class/Element.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Element.php b/app/class/Element.php index 3160986..638d624 100644 --- a/app/class/Element.php +++ b/app/class/Element.php @@ -46,7 +46,7 @@ class Element extends Item public function addtags() { - $this->content = PHP_EOL . '<' . $this->type() . '>' . PHP_EOL . $this->content() . PHP_EOL . '</' . $this->type() . '>' . PHP_EOL; + $this->content = '\n<' . $this->type() . '>\n' . $this->content() . '\n</' . $this->type() . '>\n'; } |