fix missing @since's
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
ae1cc1d14d
commit
3a4e31ef6b
|
@ -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');
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue