summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-22 08:43:05 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-22 08:43:05 +0100
commit75ee5a9e9a8de5500c10a5df764f5c5b88a787da (patch)
tree5b20ec2c46593f37466e96b123a922b9fe40852a /lib
parent766ba1cd5fac2019e73810b157bbf0bd3fdab1cf (diff)
downloadnextcloud-server-75ee5a9e9a8de5500c10a5df764f5c5b88a787da.tar.gz
nextcloud-server-75ee5a9e9a8de5500c10a5df764f5c5b88a787da.zip
Fix PHPDoc - @changed is no official tag -> use @since
Diffstat (limited to 'lib')
-rw-r--r--lib/private/notification/inotification.php6
-rw-r--r--lib/private/notification/notification.php6
-rw-r--r--lib/public/activity/iextension.php3
-rw-r--r--lib/public/activity/imanager.php3
-rw-r--r--lib/public/files/storagenotavailableexception.php3
5 files changed, 7 insertions, 14 deletions
diff --git a/lib/private/notification/inotification.php b/lib/private/notification/inotification.php
index 0a47b57aa11..921f0779b92 100644
--- a/lib/private/notification/inotification.php
+++ b/lib/private/notification/inotification.php
@@ -79,8 +79,7 @@ interface INotification {
* @param string $id
* @return $this
* @throws \InvalidArgumentException if the object type or id is invalid
- * @since 8.2.0
- * @changed 9.0.0 Type of $id changed to string
+ * @since 8.2.0 - 9.0.0: Type of $id changed to string
*/
public function setObject($type, $id);
@@ -92,8 +91,7 @@ interface INotification {
/**
* @return string
- * @since 8.2.0
- * @changed 9.0.0 Return type changed to string
+ * @since 8.2.0 - 9.0.0: Return type changed to string
*/
public function getObjectId();
diff --git a/lib/private/notification/notification.php b/lib/private/notification/notification.php
index 70b854e6d56..677658eb3e8 100644
--- a/lib/private/notification/notification.php
+++ b/lib/private/notification/notification.php
@@ -167,8 +167,7 @@ class Notification implements INotification {
* @param string $id
* @return $this
* @throws \InvalidArgumentException if the object type or id is invalid
- * @since 8.2.0
- * @changed 9.0.0 Type of $id changed to string
+ * @since 8.2.0 - 9.0.0: Type of $id changed to string
*/
public function setObject($type, $id) {
if (!is_string($type) || $type === '' || isset($type[64])) {
@@ -193,8 +192,7 @@ class Notification implements INotification {
/**
* @return string
- * @since 8.2.0
- * @changed 9.0.0 Return type changed to string
+ * @since 8.2.0 - 9.0.0: Return type changed to string
*/
public function getObjectId() {
return $this->objectId;
diff --git a/lib/public/activity/iextension.php b/lib/public/activity/iextension.php
index b76cdc7af29..b00dbdda20a 100644
--- a/lib/public/activity/iextension.php
+++ b/lib/public/activity/iextension.php
@@ -57,8 +57,7 @@ interface IExtension {
* 'desc' => "translated string description for the setting"
* 'methods' => [self::METHOD_*],
* ]
- * @since 8.0.0
- * @changed 8.2.0 - Added support to allow limiting notifications to certain methods
+ * @since 8.0.0 - 8.2.0: Added support to allow limiting notifications to certain methods
*/
public function getNotificationTypes($languageCode);
diff --git a/lib/public/activity/imanager.php b/lib/public/activity/imanager.php
index b79ec115450..0b97f8a07ed 100644
--- a/lib/public/activity/imanager.php
+++ b/lib/public/activity/imanager.php
@@ -118,8 +118,7 @@ interface IManager {
* 'desc' => "translated string description for the setting"
* 'methods' => [\OCP\Activity\IExtension::METHOD_*],
* ]
- * @since 8.0.0
- * @changed 8.2.0 - Added support to allow limiting notifications to certain methods
+ * @since 8.0.0 - 8.2.0: Added support to allow limiting notifications to certain methods
*/
public function getNotificationTypes($languageCode);
diff --git a/lib/public/files/storagenotavailableexception.php b/lib/public/files/storagenotavailableexception.php
index cb674cd663a..4572a69f047 100644
--- a/lib/public/files/storagenotavailableexception.php
+++ b/lib/public/files/storagenotavailableexception.php
@@ -34,8 +34,7 @@ use OC\HintException;
/**
* Storage is temporarily not available
- * @since 6.0.0
- * @changed 8.2.1 based on HintException
+ * @since 6.0.0 - since 8.2.1 based on HintException
*/
class StorageNotAvailableException extends HintException {