diff --git a/components/ILIAS/PersonalWorkspace/classes/class.ilSingleUserShareGUI.php b/components/ILIAS/PersonalWorkspace/classes/class.ilSingleUserShareGUI.php index 4765578f6ed2..22b6a27c0def 100755 --- a/components/ILIAS/PersonalWorkspace/classes/class.ilSingleUserShareGUI.php +++ b/components/ILIAS/PersonalWorkspace/classes/class.ilSingleUserShareGUI.php @@ -22,13 +22,16 @@ class ilSingleUserShareGUI { protected ?int $wsp_node_id; - protected ?ilWorkspaceAccessHandler $wsp_access_handler; + /** + * @var ilPortfolioAccessHandler|ilWorkspaceAccessHandler + */ + protected $wsp_access_handler; protected ilGlobalTemplateInterface $tpl; protected ilCtrl $ctrl; protected ilLanguage $lng; public function __construct( - ?ilWorkspaceAccessHandler $wsp_access_handler = null, + $wsp_access_handler = null, ?int $wsp_node_id = null ) { global $DIC;