aboutsummaryrefslogtreecommitdiff
path: root/app/class/Header.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-17 20:58:27 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-17 20:58:27 +0200
commit1c4182d9d88bb4471f86b08329f1b68a5290872b (patch)
treee7ccae68902113ece94ab4c8e86fd712dc028d2a /app/class/Header.php
parentdc5613c15b1b414fefadd66912ebf8ff3a5eef9d (diff)
downloadwcms-1c4182d9d88bb4471f86b08329f1b68a5290872b.tar.gz
wcms-1c4182d9d88bb4471f86b08329f1b68a5290872b.zip
apply psr 12 part 2
Diffstat (limited to 'app/class/Header.php')
-rw-r--r--app/class/Header.php23
1 files changed, 12 insertions, 11 deletions
diff --git a/app/class/Header.php b/app/class/Header.php
index 0165e59..38ae8c4 100644
--- a/app/class/Header.php
+++ b/app/class/Header.php
@@ -9,16 +9,17 @@ namespace Wcms;
*/
class Header
{
- /** @var string $id the id of this header. */
- public $id;
- /** @var int $level the level of deepness of this header. */
- public $level;
- /** @var string $title the title displayed by this header. */
- public $title;
+ /** @var string $id the id of this header. */
+ public $id;
+ /** @var int $level the level of deepness of this header. */
+ public $level;
+ /** @var string $title the title displayed by this header. */
+ public $title;
- public function __construct(string $id, int $level, string $title) {
- $this->id = $id;
- $this->level = $level;
- $this->title = $title;
- }
+ public function __construct(string $id, int $level, string $title)
+ {
+ $this->id = $id;
+ $this->level = $level;
+ $this->title = $title;
+ }
}