mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-15 01:38: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
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $id = '';
|
private string $id = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
name="<?= $this->renderName(); ?>"
|
name="<?= $this->renderName(); ?>"
|
||||||
form="<?= $this->renderForm(); ?>"
|
form="<?= $this->renderForm(); ?>"
|
||||||
data-tpl-text="<?= $this->renderTplText(); ?>"
|
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">
|
<input type="hidden" id="<?= $this->renderId(); ?>-parsed">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
use phpOMS\Uri\UriFactory;
|
use phpOMS\Uri\UriFactory;
|
||||||
|
|
||||||
/**
|
/** @var \phpOMS\Views\View $this */
|
||||||
* @var \phpOMS\Views\View $this
|
|
||||||
*/
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user