From 7f1dc52a66088a4478aa52708e62fbc2ffa7cb57 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 20 Oct 2021 14:43:45 +0200 Subject: Change origin field to appId Signed-off-by: Joas Schilling --- lib/public/Contacts/ContactsMenu/IAction.php | 6 +++--- lib/public/Contacts/ContactsMenu/IActionFactory.php | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/public/Contacts') diff --git a/lib/public/Contacts/ContactsMenu/IAction.php b/lib/public/Contacts/ContactsMenu/IAction.php index 7c9db063975..9b08bbbf04b 100644 --- a/lib/public/Contacts/ContactsMenu/IAction.php +++ b/lib/public/Contacts/ContactsMenu/IAction.php @@ -62,14 +62,14 @@ interface IAction extends JsonSerializable { public function getPriority(); /** - * @param string $appName + * @param string $appId * @since 23.0.0 */ - public function setAppName(string $appName); + public function setAppId(string $appId); /** * @return string * @since 23.0.0 */ - public function getAppName(): string; + public function getAppId(): string; } diff --git a/lib/public/Contacts/ContactsMenu/IActionFactory.php b/lib/public/Contacts/ContactsMenu/IActionFactory.php index 393c9eb487a..b4e4eb96819 100644 --- a/lib/public/Contacts/ContactsMenu/IActionFactory.php +++ b/lib/public/Contacts/ContactsMenu/IActionFactory.php @@ -35,10 +35,10 @@ interface IActionFactory { * @param string $icon full path to the action's icon * @param string $name localized name of the action * @param string $href target URL - * @param string $appName the appName registering the action + * @param string $appId the app ID registering the action * @return ILinkAction */ - public function newLinkAction(string $icon, string $name, string $href, string $appName = ''): ILinkAction; + public function newLinkAction(string $icon, string $name, string $href, string $appId = ''): ILinkAction; /** * Construct and return a new email action for the contacts menu @@ -48,8 +48,8 @@ interface IActionFactory { * @param string $icon full path to the action's icon * @param string $name localized name of the action * @param string $email target e-mail address - * @param string $appName the appName registering the action + * @param string $appId the appName registering the action * @return ILinkAction */ - public function newEMailAction(string $icon, string $name, string $email, string $appName = ''): ILinkAction; + public function newEMailAction(string $icon, string $name, string $email, string $appId = ''): ILinkAction; } -- cgit v1.2.3