Skip to content
Snippets Groups Projects
Unverified Commit 3a4e31ef authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

fix missing @since's

parent ae1cc1d1
No related branches found
No related tags found
Loading
...@@ -24,6 +24,13 @@ declare(strict_types=1); ...@@ -24,6 +24,13 @@ declare(strict_types=1);
namespace OCP\WorkflowEngine; namespace OCP\WorkflowEngine;
/**
* Class GenericEntityEvent
*
* @package OCP\WorkflowEngine
*
* @since 18.0.0
*/
class GenericEntityEvent implements IEntityEvent { class GenericEntityEvent implements IEntityEvent {
/** @var string */ /** @var string */
...@@ -31,6 +38,11 @@ class GenericEntityEvent implements IEntityEvent { ...@@ -31,6 +38,11 @@ class GenericEntityEvent implements IEntityEvent {
/** @var string */ /** @var string */
private $eventName; private $eventName;
/**
* GenericEntityEvent constructor.
*
* @since 18.0.0
*/
public function __construct(string $displayName, string $eventName) { public function __construct(string $displayName, string $eventName) {
if(trim($displayName) === '') { if(trim($displayName) === '') {
throw new \InvalidArgumentException('DisplayName must not be empty'); throw new \InvalidArgumentException('DisplayName must not be empty');
......
...@@ -47,6 +47,7 @@ interface IEntityCheck { ...@@ -47,6 +47,7 @@ interface IEntityCheck {
* @param IEntity $entity * @param IEntity $entity
* @param mixed $subject * @param mixed $subject
* @throws \UnexpectedValueException * @throws \UnexpectedValueException
* @since 18.0.0
*/ */
public function setEntitySubject(IEntity $entity, $subject): void; public function setEntitySubject(IEntity $entity, $subject): void;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment