diff --git a/Services/COPage/Link/LinkManager.php b/Services/COPage/Link/LinkManager.php
index 415e21942a14..7c887a91b518 100644
--- a/Services/COPage/Link/LinkManager.php
+++ b/Services/COPage/Link/LinkManager.php
@@ -38,7 +38,7 @@ public function __construct()
protected function getDefaultMediaCollector(): \Closure
{
- return fn (int $id) => \ilMediaItem::_getMapAreasIntLinks($id);
+ return fn(int $id) => \ilMediaItem::_getMapAreasIntLinks($id);
}
public function getInternalLinks(
@@ -89,7 +89,7 @@ public function getInternalLinks(
$id_arr = explode("_", $oid);
$id = $id_arr[count($id_arr) - 1];
- $med_links = $media_collector($id);
+ $med_links = $media_collector((int) $id);
foreach ($med_links as $key => $med_link) {
$links[$key] = $med_link;
}
@@ -178,7 +178,7 @@ public function resolveIntLinks(
protected function getDefaultLMTypeLookuper(): \Closure
{
- return fn (int $id) => \ilLMObject::_lookupType($id);
+ return fn(int $id) => \ilLMObject::_lookupType($id);
}
/**
diff --git a/Services/COPage/PC/class.PCFactory.php b/Services/COPage/PC/class.PCFactory.php
index 9c9c83112796..037e843ad35b 100644
--- a/Services/COPage/PC/class.PCFactory.php
+++ b/Services/COPage/PC/class.PCFactory.php
@@ -76,7 +76,7 @@ public function getByNode(
$mal_node = $child_node->firstChild;
//echo "ilPageObject::getContentObject:nodename:".$mal_node->node_name().":
";
$id_arr = explode("_", $mal_node->getAttribute("OriginId"));
- $mob_id = $id_arr[count($id_arr) - 1];
+ $mob_id = (int) $id_arr[count($id_arr) - 1];
// see also #32331
if (\ilObject::_lookupType($mob_id) !== "mob") {
diff --git a/Services/Repository/Service/Form/class.FormAdapterGUI.php b/Services/Repository/Service/Form/class.FormAdapterGUI.php
index 1d51c48e071a..30e0519994ee 100644
--- a/Services/Repository/Service/Form/class.FormAdapterGUI.php
+++ b/Services/Repository/Service/Form/class.FormAdapterGUI.php
@@ -21,7 +21,7 @@
namespace ILIAS\Repository\Form;
use ILIAS\UI\Component\Input\Container\Form;
-use ILIAS\UI\Component\Input\Field\FormInput;
+use ILIAS\UI\Component\Input\Container\Form\FormInput;
/**
* @author Alexander Killing