typo
This commit is contained in:
parent
31f1fe3eff
commit
64b7a98ad6
@ -31,14 +31,14 @@ class Information extends Component
|
|||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
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->document = $document;
|
||||||
$this->hideShow = $hideShow;
|
$this->hideShow = $hideShow;
|
||||||
$this->showRoute = $this->getShowRoute($document->contact->type, $showRoute);
|
$this->showRoute = $this->getShowRoute($document->contact->type, $showRoute);
|
||||||
$this->showDocumentRoute = $this->getShowRoute($document->type, $showDocumentRoute);
|
$this->showDocumentRoute = $this->getShowRoute($document->type, $showDocumentRoute);
|
||||||
$this->placement = (! empty($placement)) ? $placement : 'left';
|
$this->placement = (! empty($placement)) ? $placement : 'left';
|
||||||
|
$this->id = (! empty($id)) ? $id : 'tooltip-information-' . $document->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user