From 64b7a98ad69b36284aeaad3b789cd01875a8fa78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Tue, 13 Sep 2022 10:37:49 +0300 Subject: [PATCH] typo --- app/View/Components/Documents/Index/Information.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/View/Components/Documents/Index/Information.php b/app/View/Components/Documents/Index/Information.php index 3dc331363..b270c6a45 100644 --- a/app/View/Components/Documents/Index/Information.php +++ b/app/View/Components/Documents/Index/Information.php @@ -31,14 +31,14 @@ class Information extends Component * @return void */ public function __construct( - string $id = '', $document, bool $hideShow = false, string $showRoute = '', string $showDocumentRoute = '', string $placement = '' + $document, bool $hideShow = false, string $showRoute = '', string $showDocumentRoute = '', string $placement = '', string $id = '' ) { - $this->id = (! empty($id)) ? $id : 'tooltip-information-' . $document->id; $this->document = $document; $this->hideShow = $hideShow; $this->showRoute = $this->getShowRoute($document->contact->type, $showRoute); $this->showDocumentRoute = $this->getShowRoute($document->type, $showDocumentRoute); $this->placement = (! empty($placement)) ? $placement : 'left'; + $this->id = (! empty($id)) ? $id : 'tooltip-information-' . $document->id; } /**