From 2f25607fa4f2c3e9d8cfd7db8536e985232c778b Mon Sep 17 00:00:00 2001 From: Ekaterina Spitsyna Date: Thu, 4 Apr 2024 14:28:03 +0200 Subject: [PATCH] Update stubs with 18.0.60 SDK --- SDK/Certificate.php | 2 +- SDK/Hook/Dns/Dnssec.php | 2 +- SDK/Hook/ExternalDns.php | 2 +- SDK/Hook/Home.php | 19 ++++ SDK/Hook/Home/Block.php | 130 ++++++++++++++++++++++ SDK/Hook/HookInterface.php | 2 +- SDK/Hook/Repair/Mail.php | 2 +- SDK/Hook/Webmail.php | 2 +- SDK/Mailname.php | 2 +- SDK/Middleware/Access/Client.php | 2 +- SDK/Middleware/Access/Cors.php | 2 +- SDK/Middleware/Access/Csrf.php | 2 +- SDK/Middleware/Access/Domain.php | 2 +- SDK/Middleware/Access/Session.php | 2 +- SDK/Middleware/Access/UserRole.php | 2 +- SDK/Middleware/Auth/ApiKey.php | 2 +- SDK/Middleware/Auth/Basic.php | 2 +- SDK/Middleware/ErrorHandler.php | 2 +- SDK/Middleware/HttpsRedirect.php | 2 +- SDK/Middleware/Server/ApiAllowed.php | 2 +- SDK/Middleware/Server/ApiEnabled.php | 2 +- SDK/Middleware/Server/Initialized.php | 2 +- SDK/Repair/Context.php | 2 +- SDK/Server/Components.php | 2 +- SDK/Webmail.php | 2 +- pm/ActionLog.php | 8 +- pm/ApiCli.php | 2 +- pm/ApiRpc.php | 2 +- pm/Application.php | 2 +- pm/Auth.php | 2 +- pm/Backup/Manager.php | 2 +- pm/Bootstrap.php | 2 +- pm/Client.php | 8 +- pm/Config.php | 10 +- pm/Context.php | 2 +- pm/Controller/Action.php | 2 +- pm/Crypt.php | 2 +- pm/Dns/Record.php | 2 +- pm/Dns/SoaRecord.php | 2 +- pm/Dns/Template.php | 2 +- pm/Dns/Template/Record.php | 2 +- pm/Dns/Template/SoaRecord.php | 2 +- pm/Dns/Zone.php | 2 +- pm/Domain.php | 8 +- pm/DomainAlias.php | 60 +++++++++- pm/Exception.php | 2 +- pm/Exception/InvalidArgumentException.php | 2 +- pm/Exception/ResultException.php | 2 +- pm/Extension.php | 2 +- pm/FileManager.php | 2 +- pm/FileManager/Action.php | 2 +- pm/Form/Simple.php | 2 +- pm/Form/SubForm.php | 2 +- pm/Hook/ActionLog.php | 2 +- pm/Hook/ActiveList.php | 2 +- pm/Hook/ApiCli.php | 2 +- pm/Hook/ApiRest.php | 2 +- pm/Hook/ApiRpc.php | 2 +- pm/Hook/Applications.php | 2 +- pm/Hook/Auth.php | 2 +- pm/Hook/Backup.php | 2 +- pm/Hook/Backup/Client.php | 2 +- pm/Hook/Backup/Domain.php | 2 +- pm/Hook/Backup/Server.php | 2 +- pm/Hook/Backup/Task.php | 2 +- pm/Hook/Backup/Transport.php | 2 +- pm/Hook/ConfigDefaults.php | 2 +- pm/Hook/ContentInclude.php | 2 +- pm/Hook/CustomButtons.php | 2 +- pm/Hook/DynamicList.php | 3 +- pm/Hook/Form.php | 2 +- pm/Hook/Interface.php | 2 +- pm/Hook/Limits.php | 2 +- pm/Hook/LoginContentInclude.php | 2 +- pm/Hook/LongTasks.php | 2 +- pm/Hook/Navigation.php | 2 +- pm/Hook/Notifications.php | 2 +- pm/Hook/Permissions.php | 2 +- pm/Hook/PlanItems.php | 2 +- pm/Hook/Promos.php | 2 +- pm/Hook/Search.php | 2 +- pm/Hook/SimpleList.php | 3 +- pm/Hook/SystemServices.php | 2 +- pm/Hook/WebServer.php | 2 +- pm/License.php | 2 +- pm/Loader.php | 2 +- pm/Locale.php | 2 +- pm/Log.php | 2 +- pm/LongTask/Manager.php | 2 +- pm/LongTask/Task.php | 2 +- pm/Navigation/OverviewPage.php | 2 +- pm/Navigation/Page.php | 2 +- pm/Notification.php | 2 +- pm/Notifications/EmailNotification.php | 2 +- pm/Notifications/PanelNotification.php | 2 +- pm/Plan.php | 2 +- pm/ProductInfo.php | 2 +- pm/Promo/AdminHome.php | 2 +- pm/Promo/CustomerHome.php | 2 +- pm/Promo/Home.php | 2 +- pm/Scheduler.php | 2 +- pm/Scheduler/Task.php | 2 +- pm/SearchIndex.php | 2 +- pm/ServerFileManager.php | 2 +- pm/Session.php | 2 +- pm/Settings.php | 2 +- pm/SystemService/Service.php | 2 +- pm/View/Helper/ActiveList.php | 2 +- pm/View/Helper/BaseUrl.php | 2 +- pm/View/Helper/DomainOverviewUrl.php | 2 +- pm/View/Helper/Lmsg.php | 2 +- pm/View/Helper/RenderList.php | 2 +- pm/View/Helper/RenderSmallTools.php | 2 +- pm/View/Helper/RenderTabs.php | 3 +- pm/View/Helper/RenderTools.php | 2 +- pm/View/List/Simple.php | 2 +- pm/View/Status.php | 2 +- pm/WebServer.php | 2 +- pm/WebServer/Abstract.php | 2 +- pm/WebServer/Apache.php | 2 +- pm/WebServer/IIS.php | 2 +- pm/WebServer/Interface.php | 2 +- pm/WebServer/Nginx.php | 2 +- 123 files changed, 348 insertions(+), 130 deletions(-) create mode 100644 SDK/Hook/Home.php create mode 100644 SDK/Hook/Home/Block.php diff --git a/SDK/Certificate.php b/SDK/Certificate.php index 7a7df93..a2a6af9 100644 --- a/SDK/Certificate.php +++ b/SDK/Certificate.php @@ -1,5 +1,5 @@ 'John Smith', 'email' => 'user@new.example.com', 'login_name' => 'user1') - * @param array|null $newValues + * @param string[] $newValues * @example array('contact_name' => 'John Smith', 'email' => 'user@old.example.com', 'login_name' => 'user1') * @return void * * @throws Exception */ - public static function submit($actionId, $objectId = null, $oldValues = null, $newValues = null) { } + public static function submit($actionId, $objectId = null, $oldValues = [], $newValues = []) { } } diff --git a/pm/ApiCli.php b/pm/ApiCli.php index be8f51a..d30ddc5 100644 --- a/pm/ApiCli.php +++ b/pm/ApiCli.php @@ -1,5 +1,5 @@ 'My Awesome Tab', * 'content' => 'My awesome tab content', * 'order' => 3, + * 'default' => false, * ] * ] * ``` diff --git a/pm/Hook/Form.php b/pm/Hook/Form.php index 1bcf471..2cb9c0c 100644 --- a/pm/Hook/Form.php +++ b/pm/Hook/Form.php @@ -1,5 +1,5 @@ [ diff --git a/pm/Hook/SystemServices.php b/pm/Hook/SystemServices.php index 472bc66..c39e2a2 100644 --- a/pm/Hook/SystemServices.php +++ b/pm/Hook/SystemServices.php @@ -1,5 +1,5 @@