fix missing @since's

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2019-09-09 17:23:22 +02:00
parent ae1cc1d14d
commit 3a4e31ef6b
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
2 changed files with 13 additions and 0 deletions

View File

@ -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');

View File

@ -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;