diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-17 20:58:27 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-17 20:58:27 +0200 |
commit | 1c4182d9d88bb4471f86b08329f1b68a5290872b (patch) | |
tree | e7ccae68902113ece94ab4c8e86fd712dc028d2a /app/class/Element.php | |
parent | dc5613c15b1b414fefadd66912ebf8ff3a5eef9d (diff) | |
download | wcms-1c4182d9d88bb4471f86b08329f1b68a5290872b.tar.gz wcms-1c4182d9d88bb4471f86b08329f1b68a5290872b.zip |
apply psr 12 part 2
Diffstat (limited to 'app/class/Element.php')
-rw-r--r-- | app/class/Element.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/class/Element.php b/app/class/Element.php index 1193c66..3160986 100644 --- a/app/class/Element.php +++ b/app/class/Element.php @@ -18,11 +18,11 @@ class Element extends Item protected $headerid = 1; - // __________________________________________________ F U N ____________________________________________________________ + // ______________________________________________ F U N ________________________________________________________ - public function __construct($datas = [], $pageid) + public function __construct($pageid, $datas = []) { $this->hydrate($datas); $this->analyse($pageid); @@ -53,7 +53,7 @@ class Element extends Item - // __________________________________________________ G E T ____________________________________________________________ + // ______________________________________________ G E T ________________________________________________________ public function fullmatch() @@ -111,7 +111,7 @@ class Element extends Item - // __________________________________________________ S E T ____________________________________________________________ + // ______________________________________________ S E T ________________________________________________________ public function setfullmatch(string $fullmatch) |