diff options
Diffstat (limited to 'lib')
-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; |