From 1c4182d9d88bb4471f86b08329f1b68a5290872b Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 17 Apr 2020 20:58:27 +0200 Subject: apply psr 12 part 2 --- app/class/Element.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/class/Element.php') 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) -- cgit v1.2.3