diff --git a/Models/Resource.php b/Models/Resource.php
index a3321be..c47013d 100644
--- a/Models/Resource.php
+++ b/Models/Resource.php
@@ -46,7 +46,7 @@ class Resource implements \JsonSerializable
/**
* Uri.
*
- * @var int
+ * @var string
* @since 1.0.0
*/
public string $uri = '';
@@ -70,7 +70,7 @@ class Resource implements \JsonSerializable
/**
* Xpath.
*
- * @var int
+ * @var string
* @since 1.0.0
*/
public string $xpath = '';
@@ -78,7 +78,7 @@ class Resource implements \JsonSerializable
/**
* Hash.
*
- * @var int
+ * @var string
* @since 1.0.0
*/
public string $hash = '';
@@ -86,7 +86,7 @@ class Resource implements \JsonSerializable
/**
* Last version path.
*
- * @var int
+ * @var string
* @since 1.0.0
*/
public string $lastVersionPath = '';
diff --git a/Theme/Backend/admin-logs.tpl.php b/Theme/Backend/admin-logs.tpl.php
index 5c8b6d7..8bbe50f 100644
--- a/Theme/Backend/admin-logs.tpl.php
+++ b/Theme/Backend/admin-logs.tpl.php
@@ -100,13 +100,13 @@ $next = $tableView->getNextLink(
$url = UriFactory::build('{/lang}/{/app}/'{/lang}/{/app}/admin/audit/single?id=' . $audit->getId()); ?>
| = $audit->getId(); ?>
- | getOld() === null) : echo $this->getHtml('CREATE', '0', '0'); ?>
- getOld() !== null && $audit->getNew() !== null) : echo $this->getHtml('UPDATE', '0', '0'); ?>
- getNew() === null) : echo $this->getHtml('DELETE', '0', '0'); ?>
+ | old === null) : echo $this->getHtml('CREATE', '0', '0'); ?>
+ old !== null && $audit->new !== null) : echo $this->getHtml('UPDATE', '0', '0'); ?>
+ new === null) : echo $this->getHtml('DELETE', '0', '0'); ?>
getHtml('UNKNOWN', '0', '0'); ?>
- | = $audit->getType(); ?>
- | = $audit->getTrigger(); ?>
+ | = $audit->type; ?>
+ | = $audit->trigger; ?>
| = $this->printHtml(
$this->renderUserName('%3$s %2$s %1$s', [$audit->createdBy->name1, $audit->createdBy->name2, $audit->createdBy->name3, $audit->createdBy->login])
); ?>
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php
index d46fd31..b5d36a8 100755
--- a/tests/Bootstrap.php
+++ b/tests/Bootstrap.php
@@ -257,6 +257,25 @@ $CONFIG = [
'root' => '/',
'https' => false,
],
+ 'app' => [
+ 'path' => __DIR__,
+ 'default' => [
+ 'app' => 'Backend',
+ 'id' => 'backend',
+ 'lang' => 'en',
+ 'theme' => 'Backend',
+ 'org' => 1,
+ ],
+ 'domains' => [
+ '127.0.0.1' => [
+ 'app' => 'Backend',
+ 'id' => 'backend',
+ 'lang' => 'en',
+ 'theme' => 'Backend',
+ 'org' => 1,
+ ],
+ ],
+ ],
'socket' => [
'master' => [
'host' => '127.0.0.1',
|