diff --git a/.phive/phars.xml b/.phive/phars.xml
index c72f3a2..86632f6 100644
--- a/.phive/phars.xml
+++ b/.phive/phars.xml
@@ -3,7 +3,7 @@
-
-
+
+
diff --git a/src/DB/Extended/ArrayIO.php b/src/DB/Extended/ArrayIO.php
index 2f19e9d..d40b71b 100644
--- a/src/DB/Extended/ArrayIO.php
+++ b/src/DB/Extended/ArrayIO.php
@@ -236,7 +236,7 @@ class ArrayIO extends \CoreLibs\DB\IO
*/
public function getPkId(): int|string|null
{
- return $this->pk_id;
+ return $this->pk_id ?? null;
}
/**
diff --git a/src/Output/Form/Generate.php b/src/Output/Form/Generate.php
index 3c406d4..62ca737 100644
--- a/src/Output/Form/Generate.php
+++ b/src/Output/Form/Generate.php
@@ -1507,7 +1507,7 @@ class Generate
}
if (
!empty($this->reference_array[$key]['mandatory']) &&
- !$this->reference_array[$key]['selected'][0]
+ empty($this->reference_array[$key]['selected'][0])
) {
$this->msg .= sprintf(
$this->l->__('Please select at least one Element from field %s!
'),
diff --git a/src/Output/Form/TableArrays/EditPages.php b/src/Output/Form/TableArrays/EditPages.php
index 1ac9039..ef293f7 100644
--- a/src/Output/Form/TableArrays/EditPages.php
+++ b/src/Output/Form/TableArrays/EditPages.php
@@ -53,6 +53,7 @@ class EditPages implements Interface\TableArraysInterface
'value' => $_POST['name'] ?? '',
'output_name' => 'Page name',
'mandatory' => 1,
+ 'error_check' => 'unique',
'type' => 'text'
],
'order_number' => [
diff --git a/test/checking/phan.sh b/test/checking/phan.sh
index 49db58c..a91e9bc 100755
--- a/test/checking/phan.sh
+++ b/test/checking/phan.sh
@@ -1,2 +1,2 @@
base="/storage/var/www/html/developers/clemens/core_data/composer-packages/CoreLibs-Composer-All/";
-vendor/bin/phan --progress-bar -C --analyze-twice
+tools/phan --progress-bar -C --analyze-twice
diff --git a/test/checking/phpstan.sh b/test/checking/phpstan.sh
index 94a6e9b..ffbb715 100755
--- a/test/checking/phpstan.sh
+++ b/test/checking/phpstan.sh
@@ -1,2 +1,2 @@
base="/storage/var/www/html/developers/clemens/core_data/composer-packages/CoreLibs-Composer-All/";
-vendor/bin/phpstan
+tools/phpstan
diff --git a/test/checking/phpunit.sh b/test/checking/phpunit.sh
index 761e51f..fc45ade 100755
--- a/test/checking/phpunit.sh
+++ b/test/checking/phpunit.sh
@@ -33,7 +33,7 @@ if [ ! -z "${2}" ] && [ -z "${php_bin}" ]; then
esac;
fi;
-phpunit_call="${php_bin}${base}vendor/bin/phpunit ${opt_testdox} -c ${base}phpunit.xml ${base}test/phpunit/";
+phpunit_call="${php_bin}${base}tools/phpunit ${opt_testdox} -c ${base}phpunit.xml ${base}test/phpunit/";
${phpunit_call};
diff --git a/tools/phpstan b/tools/phpstan
index 997e355..5844e76 120000
--- a/tools/phpstan
+++ b/tools/phpstan
@@ -1 +1 @@
-/home/clemens/.phive/phars/phpstan-1.10.59.phar
\ No newline at end of file
+/home/clemens/.phive/phars/phpstan-1.10.63.phar
\ No newline at end of file
diff --git a/tools/psalm b/tools/psalm
index ae422a1..5ec2cc0 120000
--- a/tools/psalm
+++ b/tools/psalm
@@ -1 +1 @@
-/home/clemens/.phive/phars/psalm-5.22.2.phar
\ No newline at end of file
+/home/clemens/.phive/phars/psalm-5.23.1.phar
\ No newline at end of file