Fix PHPDoc - @changed is no official tag -> use @since
This commit is contained in:
parent
766ba1cd5f
commit
75ee5a9e9a
|
@ -79,8 +79,7 @@ interface INotification {
|
||||||
* @param string $id
|
* @param string $id
|
||||||
* @return $this
|
* @return $this
|
||||||
* @throws \InvalidArgumentException if the object type or id is invalid
|
* @throws \InvalidArgumentException if the object type or id is invalid
|
||||||
* @since 8.2.0
|
* @since 8.2.0 - 9.0.0: Type of $id changed to string
|
||||||
* @changed 9.0.0 Type of $id changed to string
|
|
||||||
*/
|
*/
|
||||||
public function setObject($type, $id);
|
public function setObject($type, $id);
|
||||||
|
|
||||||
|
@ -92,8 +91,7 @@ interface INotification {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
* @since 8.2.0
|
* @since 8.2.0 - 9.0.0: Return type changed to string
|
||||||
* @changed 9.0.0 Return type changed to string
|
|
||||||
*/
|
*/
|
||||||
public function getObjectId();
|
public function getObjectId();
|
||||||
|
|
||||||
|
|
|
@ -167,8 +167,7 @@ class Notification implements INotification {
|
||||||
* @param string $id
|
* @param string $id
|
||||||
* @return $this
|
* @return $this
|
||||||
* @throws \InvalidArgumentException if the object type or id is invalid
|
* @throws \InvalidArgumentException if the object type or id is invalid
|
||||||
* @since 8.2.0
|
* @since 8.2.0 - 9.0.0: Type of $id changed to string
|
||||||
* @changed 9.0.0 Type of $id changed to string
|
|
||||||
*/
|
*/
|
||||||
public function setObject($type, $id) {
|
public function setObject($type, $id) {
|
||||||
if (!is_string($type) || $type === '' || isset($type[64])) {
|
if (!is_string($type) || $type === '' || isset($type[64])) {
|
||||||
|
@ -193,8 +192,7 @@ class Notification implements INotification {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
* @since 8.2.0
|
* @since 8.2.0 - 9.0.0: Return type changed to string
|
||||||
* @changed 9.0.0 Return type changed to string
|
|
||||||
*/
|
*/
|
||||||
public function getObjectId() {
|
public function getObjectId() {
|
||||||
return $this->objectId;
|
return $this->objectId;
|
||||||
|
|
|
@ -57,8 +57,7 @@ interface IExtension {
|
||||||
* 'desc' => "translated string description for the setting"
|
* 'desc' => "translated string description for the setting"
|
||||||
* 'methods' => [self::METHOD_*],
|
* 'methods' => [self::METHOD_*],
|
||||||
* ]
|
* ]
|
||||||
* @since 8.0.0
|
* @since 8.0.0 - 8.2.0: Added support to allow limiting notifications to certain methods
|
||||||
* @changed 8.2.0 - Added support to allow limiting notifications to certain methods
|
|
||||||
*/
|
*/
|
||||||
public function getNotificationTypes($languageCode);
|
public function getNotificationTypes($languageCode);
|
||||||
|
|
||||||
|
|
|
@ -118,8 +118,7 @@ interface IManager {
|
||||||
* 'desc' => "translated string description for the setting"
|
* 'desc' => "translated string description for the setting"
|
||||||
* 'methods' => [\OCP\Activity\IExtension::METHOD_*],
|
* 'methods' => [\OCP\Activity\IExtension::METHOD_*],
|
||||||
* ]
|
* ]
|
||||||
* @since 8.0.0
|
* @since 8.0.0 - 8.2.0: Added support to allow limiting notifications to certain methods
|
||||||
* @changed 8.2.0 - Added support to allow limiting notifications to certain methods
|
|
||||||
*/
|
*/
|
||||||
public function getNotificationTypes($languageCode);
|
public function getNotificationTypes($languageCode);
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,7 @@ use OC\HintException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Storage is temporarily not available
|
* Storage is temporarily not available
|
||||||
* @since 6.0.0
|
* @since 6.0.0 - since 8.2.1 based on HintException
|
||||||
* @changed 8.2.1 based on HintException
|
|
||||||
*/
|
*/
|
||||||
class StorageNotAvailableException extends HintException {
|
class StorageNotAvailableException extends HintException {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue