diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 17:23:22 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 22:56:06 +0200 |
commit | 3a4e31ef6beed45cc6985d95583e33f198b10e40 (patch) | |
tree | 7b4d6605f59bd12c8e7038021922aa955a6ec036 /lib/public/WorkflowEngine | |
parent | ae1cc1d14dda99f62714d5e658e6cb71378aaae2 (diff) | |
download | nextcloud-server-3a4e31ef6beed45cc6985d95583e33f198b10e40.tar.gz nextcloud-server-3a4e31ef6beed45cc6985d95583e33f198b10e40.zip |
fix missing @since's
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/WorkflowEngine')
-rw-r--r-- | lib/public/WorkflowEngine/GenericEntityEvent.php | 12 | ||||
-rw-r--r-- | lib/public/WorkflowEngine/IEntityCheck.php | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/GenericEntityEvent.php b/lib/public/WorkflowEngine/GenericEntityEvent.php index f556eb93b22..3ea34c6fb87 100644 --- a/lib/public/WorkflowEngine/GenericEntityEvent.php +++ b/lib/public/WorkflowEngine/GenericEntityEvent.php @@ -24,6 +24,13 @@ declare(strict_types=1); namespace OCP\WorkflowEngine; +/** + * Class GenericEntityEvent + * + * @package OCP\WorkflowEngine + * + * @since 18.0.0 + */ class GenericEntityEvent implements IEntityEvent { /** @var string */ @@ -31,6 +38,11 @@ class GenericEntityEvent implements IEntityEvent { /** @var string */ private $eventName; + /** + * GenericEntityEvent constructor. + * + * @since 18.0.0 + */ public function __construct(string $displayName, string $eventName) { if(trim($displayName) === '') { throw new \InvalidArgumentException('DisplayName must not be empty'); diff --git a/lib/public/WorkflowEngine/IEntityCheck.php b/lib/public/WorkflowEngine/IEntityCheck.php index 82687a052ba..7a4df0afd5f 100644 --- a/lib/public/WorkflowEngine/IEntityCheck.php +++ b/lib/public/WorkflowEngine/IEntityCheck.php @@ -47,6 +47,7 @@ interface IEntityCheck { * @param IEntity $entity * @param mixed $subject * @throws \UnexpectedValueException + * @since 18.0.0 */ public function setEntitySubject(IEntity $entity, $subject): void; |