mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
declare strict types in markup scripts
This commit is contained in:
parent
0e30339615
commit
4d481d6013
3 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
/*
|
||||
This file is a part of myTinyTodo.
|
||||
|
|
@ -40,7 +40,7 @@ class MTTCommonmarkWrapper implements MTTMarkdownInterface
|
|||
$mention->setUrl(\sprintf(get_mttinfo('url'). "?task=%d", $mention->getIdentifier()));
|
||||
if (!$this->toExternal) {
|
||||
$mention->data->append('attributes/class', 'mtt-link-to-task');
|
||||
$mention->data->append('attributes/data-target-id', $attrs['target-id'] = $mention->getIdentifier());
|
||||
$mention->data->append('attributes/data-target-id', $mention->getIdentifier());
|
||||
}
|
||||
return $mention;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
/*
|
||||
This file is a part of myTinyTodo.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
/*
|
||||
This file is a part of myTinyTodo.
|
||||
|
|
|
|||
Loading…
Reference in a new issue