diff options
author | Joas Schilling <coding@schilljs.com> | 2016-11-16 09:29:27 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-11-16 09:29:27 +0100 |
commit | 6b88d56e3aa94012dcaf9e5240b885b4e545efc6 (patch) | |
tree | ae829b3fd3e68f7a4573b82cbf46517d451b285e /lib/private/Activity | |
parent | 6047493b6dba2a402f256d2286008c3baaa3d5f9 (diff) | |
download | nextcloud-server-6b88d56e3aa94012dcaf9e5240b885b4e545efc6.tar.gz nextcloud-server-6b88d56e3aa94012dcaf9e5240b885b4e545efc6.zip |
Update the since version to 11.0.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Activity')
-rw-r--r-- | lib/private/Activity/Event.php | 28 | ||||
-rw-r--r-- | lib/private/Activity/LegacyFilter.php | 12 | ||||
-rw-r--r-- | lib/private/Activity/LegacySetting.php | 14 | ||||
-rw-r--r-- | lib/private/Activity/Manager.php | 16 |
4 files changed, 35 insertions, 35 deletions
diff --git a/lib/private/Activity/Event.php b/lib/private/Activity/Event.php index 16c65c20853..df6756940a0 100644 --- a/lib/private/Activity/Event.php +++ b/lib/private/Activity/Event.php @@ -233,7 +233,7 @@ class Event implements IEvent { * @param string $subject * @return $this * @throws \InvalidArgumentException if the subject is invalid - * @since 9.2.0 + * @since 11.0.0 */ public function setParsedSubject($subject) { if (!is_string($subject) || $subject === '') { @@ -245,7 +245,7 @@ class Event implements IEvent { /** * @return string - * @since 9.2.0 + * @since 11.0.0 */ public function getParsedSubject() { return $this->subjectParsed; @@ -256,7 +256,7 @@ class Event implements IEvent { * @param array $parameters * @return $this * @throws \InvalidArgumentException if the subject or parameters are invalid - * @since 9.2.0 + * @since 11.0.0 */ public function setRichSubject($subject, array $parameters = []) { if (!is_string($subject) || $subject === '') { @@ -274,7 +274,7 @@ class Event implements IEvent { /** * @return string - * @since 9.2.0 + * @since 11.0.0 */ public function getRichSubject() { return $this->subjectRich; @@ -282,7 +282,7 @@ class Event implements IEvent { /** * @return array[] - * @since 9.2.0 + * @since 11.0.0 */ public function getRichSubjectParameters() { return $this->subjectRichParameters; @@ -324,7 +324,7 @@ class Event implements IEvent { * @param string $message * @return $this * @throws \InvalidArgumentException if the message is invalid - * @since 9.2.0 + * @since 11.0.0 */ public function setParsedMessage($message) { if (!is_string($message)) { @@ -336,7 +336,7 @@ class Event implements IEvent { /** * @return string - * @since 9.2.0 + * @since 11.0.0 */ public function getParsedMessage() { return $this->messageParsed; @@ -347,7 +347,7 @@ class Event implements IEvent { * @param array $parameters * @return $this * @throws \InvalidArgumentException if the subject or parameters are invalid - * @since 9.2.0 + * @since 11.0.0 */ public function setRichMessage($message, array $parameters = []) { if (!is_string($message)) { @@ -365,7 +365,7 @@ class Event implements IEvent { /** * @return string - * @since 9.2.0 + * @since 11.0.0 */ public function getRichMessage() { return $this->messageRich; @@ -373,7 +373,7 @@ class Event implements IEvent { /** * @return array[] - * @since 9.2.0 + * @since 11.0.0 */ public function getRichMessageParameters() { return $this->messageRichParameters; @@ -453,7 +453,7 @@ class Event implements IEvent { * @param string $icon * @return $this * @throws \InvalidArgumentException if the icon is invalid - * @since 9.2.0 + * @since 11.0.0 */ public function setIcon($icon) { if (!is_string($icon) || isset($icon[4000])) { @@ -465,7 +465,7 @@ class Event implements IEvent { /** * @return string - * @since 9.2.0 + * @since 11.0.0 */ public function getIcon() { return $this->icon; @@ -473,7 +473,7 @@ class Event implements IEvent { /** * @param IEvent $child - * @since 9.2.0 + * @since 11.0.0 */ public function setChildEvent(IEvent $child) { $this->child = $child; @@ -481,7 +481,7 @@ class Event implements IEvent { /** * @return IEvent|null - * @since 9.2.0 + * @since 11.0.0 */ public function getChildEvent() { return $this->child; diff --git a/lib/private/Activity/LegacyFilter.php b/lib/private/Activity/LegacyFilter.php index 4641151245b..eadb5b1558f 100644 --- a/lib/private/Activity/LegacyFilter.php +++ b/lib/private/Activity/LegacyFilter.php @@ -55,7 +55,7 @@ class LegacyFilter implements IFilter { /** * @return string Lowercase a-z and underscore only identifier - * @since 9.2.0 + * @since 11.0.0 */ public function getIdentifier() { return $this->identifier; @@ -63,7 +63,7 @@ class LegacyFilter implements IFilter { /** * @return string A translated string - * @since 9.2.0 + * @since 11.0.0 */ public function getName() { return $this->name; @@ -73,7 +73,7 @@ class LegacyFilter implements IFilter { * @return int whether the filter should be rather on the top or bottom of * the admin section. The filters are arranged in ascending order of the * priority values. It is required to return a value between 0 and 100. - * @since 9.2.0 + * @since 11.0.0 */ public function getPriority() { return $this->isTopFilter ? 40 : 50; @@ -81,7 +81,7 @@ class LegacyFilter implements IFilter { /** * @return string Full URL to an icon, empty string when none is given - * @since 9.2.0 + * @since 11.0.0 */ public function getIcon() { // Old API was CSS class, so we can not use this... @@ -91,7 +91,7 @@ class LegacyFilter implements IFilter { /** * @param string[] $types * @return string[] An array of allowed apps from which activities should be displayed - * @since 9.2.0 + * @since 11.0.0 */ public function filterTypes(array $types) { return $this->manager->filterNotificationTypes($types, $this->getIdentifier()); @@ -99,7 +99,7 @@ class LegacyFilter implements IFilter { /** * @return string[] An array of allowed apps from which activities should be displayed - * @since 9.2.0 + * @since 11.0.0 */ public function allowedApps() { return []; diff --git a/lib/private/Activity/LegacySetting.php b/lib/private/Activity/LegacySetting.php index eb65e68fd4c..27495afddb0 100644 --- a/lib/private/Activity/LegacySetting.php +++ b/lib/private/Activity/LegacySetting.php @@ -64,7 +64,7 @@ class LegacySetting implements ISetting { /** * @return string Lowercase a-z and underscore only identifier - * @since 9.2.0 + * @since 11.0.0 */ public function getIdentifier() { return $this->identifier; @@ -72,7 +72,7 @@ class LegacySetting implements ISetting { /** * @return string A translated string - * @since 9.2.0 + * @since 11.0.0 */ public function getName() { return $this->name; @@ -82,7 +82,7 @@ class LegacySetting implements ISetting { * @return int whether the filter should be rather on the top or bottom of * the admin section. The filters are arranged in ascending order of the * priority values. It is required to return a value between 0 and 100. - * @since 9.2.0 + * @since 11.0.0 */ public function getPriority() { return 70; @@ -90,7 +90,7 @@ class LegacySetting implements ISetting { /** * @return bool True when the option can be changed for the stream - * @since 9.2.0 + * @since 11.0.0 */ public function canChangeStream() { return $this->canChangeStream; @@ -98,7 +98,7 @@ class LegacySetting implements ISetting { /** * @return bool True when the option can be changed for the stream - * @since 9.2.0 + * @since 11.0.0 */ public function isDefaultEnabledStream() { return $this->isDefaultEnabledStream; @@ -106,7 +106,7 @@ class LegacySetting implements ISetting { /** * @return bool True when the option can be changed for the mail - * @since 9.2.0 + * @since 11.0.0 */ public function canChangeMail() { return $this->canChangeMail; @@ -114,7 +114,7 @@ class LegacySetting implements ISetting { /** * @return bool True when the option can be changed for the stream - * @since 9.2.0 + * @since 11.0.0 */ public function isDefaultEnabledMail() { return $this->isDefaultEnabledMail; diff --git a/lib/private/Activity/Manager.php b/lib/private/Activity/Manager.php index 9c1629d79c2..805124dc602 100644 --- a/lib/private/Activity/Manager.php +++ b/lib/private/Activity/Manager.php @@ -301,7 +301,7 @@ class Manager implements IManager { * @param string $id * @return IFilter * @throws \InvalidArgumentException when the filter was not found - * @since 9.2.0 + * @since 11.0.0 */ public function getFilterById($id) { $filters = $this->getFilters(); @@ -413,7 +413,7 @@ class Manager implements IManager { * @param string $id * @return ISetting * @throws \InvalidArgumentException when the setting was not found - * @since 9.2.0 + * @since 11.0.0 */ public function getSettingById($id) { $settings = $this->getSettings(); @@ -581,7 +581,7 @@ class Manager implements IManager { /** * @return array - * @deprecated 9.2.0 - Use getFilters() instead + * @deprecated 11.0.0 - Use getFilters() instead */ public function getNavigation() { $entries = array( @@ -602,7 +602,7 @@ class Manager implements IManager { /** * @param string $filterValue * @return boolean - * @deprecated 9.2.0 - Use getFilterById() instead + * @deprecated 11.0.0 - Use getFilterById() instead */ public function isFilterValid($filterValue) { if (isset($this->validFilters[$filterValue])) { @@ -624,7 +624,7 @@ class Manager implements IManager { * @param array $types * @param string $filter * @return array - * @deprecated 9.2.0 - Use getFilterById()->filterTypes() instead + * @deprecated 11.0.0 - Use getFilterById()->filterTypes() instead */ public function filterNotificationTypes($types, $filter) { if (!$this->isFilterValid($filter)) { @@ -643,7 +643,7 @@ class Manager implements IManager { /** * @param string $filter * @return array - * @deprecated 9.2.0 - Use getFilterById() instead + * @deprecated 11.0.0 - Use getFilterById() instead */ public function getQueryForFilter($filter) { if (!$this->isFilterValid($filter)) { @@ -676,7 +676,7 @@ class Manager implements IManager { * * @param string $languageCode * @return array - * @deprecated 9.2.0 - Use getSettings() instead + * @deprecated 11.0.0 - Use getSettings() instead */ public function getNotificationTypes($languageCode) { $notificationTypes = $sharingNotificationTypes = []; @@ -698,7 +698,7 @@ class Manager implements IManager { /** * @param string $method * @return array - * @deprecated 9.2.0 - Use getSettings()->isDefaulEnabled<method>() instead + * @deprecated 11.0.0 - Use getSettings()->isDefaulEnabled<method>() instead */ public function getDefaultTypes($method) { $defaultTypes = array(); |