Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Sep 13, 2022
1 parent 31f1fe3 commit 64b7a98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/View/Components/Documents/Index/Information.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 64b7a98

Please sign in to comment.