From 3a4e31ef6beed45cc6985d95583e33f198b10e40 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon <blizzz@arthur-schiwon.de> Date: Mon, 9 Sep 2019 17:23:22 +0200 Subject: [PATCH] fix missing @since's Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> --- lib/public/WorkflowEngine/GenericEntityEvent.php | 12 ++++++++++++ lib/public/WorkflowEngine/IEntityCheck.php | 1 + 2 files changed, 13 insertions(+) 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; -- GitLab