mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-29 09:48:40 +00:00
make type hints easier to read
This commit is contained in:
parent
2ced0c8325
commit
1b2a9b9e3c
|
|
@ -37,7 +37,7 @@ class BaseView extends View
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $id = '';
|
||||
private string $id = '';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
name="<?= $this->renderName(); ?>"
|
||||
form="<?= $this->renderForm(); ?>"
|
||||
data-tpl-text="<?= $this->renderTplText(); ?>"
|
||||
data-tpl-value="<?= $this->renderTplValue(); ?>"><?= $this->renderPlain(); ?></textarea>
|
||||
data-tpl-value="<?= $this->renderTplValue(); ?>"><?= \str_replace("\n", ' ', $this->renderPlain()); ?></textarea>
|
||||
<input type="hidden" id="<?= $this->renderId(); ?>-parsed">
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,9 +14,7 @@ declare(strict_types=1);
|
|||
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
*/
|
||||
/** @var \phpOMS\Views\View $this */
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<div class="row">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user