0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-28 02:26:32 +00:00

Make adjustments based on the review

Co-authored-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
This commit is contained in:
Hamid Dehnavi 2023-07-19 16:08:54 +03:30 committed by Côme Chilliet
parent 32ee6f7d04
commit 82a503a50a
2 changed files with 0 additions and 27 deletions
lib/private/Notification

View file

@ -27,22 +27,16 @@ namespace OC\Notification;
use OCP\Notification\IAction;
class Action implements IAction {
/** @var string */
protected string $label;
/** @var string */
protected string $labelParsed;
/** @var string */
protected string $link;
/** @var string */
protected string $requestType;
/** @var string */
protected string $icon;
/** @var bool */
protected bool $primary;
public function __construct() {

View file

@ -32,67 +32,46 @@ use OCP\RichObjectStrings\InvalidObjectExeption;
use OCP\RichObjectStrings\IValidator;
class Notification implements INotification {
/** @var string */
protected string $app;
/** @var string */
protected string $user;
/** @var \DateTime */
protected \DateTime $dateTime;
/** @var string */
protected string $objectType;
/** @var string */
protected string $objectId;
/** @var string */
protected string $subject;
/** @var array */
protected array $subjectParameters;
/** @var string */
protected string $subjectParsed;
/** @var string */
protected string $subjectRich;
/** @var array */
protected array $subjectRichParameters;
/** @var string */
protected string $message;
/** @var array */
protected array $messageParameters;
/** @var string */
protected string $messageParsed;
/** @var string */
protected string $messageRich;
/** @var array */
protected array $messageRichParameters;
/** @var string */
protected string $link;
/** @var string */
protected string $icon;
/** @var array */
protected array $actions;
/** @var array */
protected array $actionsParsed;
/** @var bool */
protected bool $hasPrimaryAction;
/** @var bool */
protected bool $hasPrimaryParsedAction;
public function __construct(