Skip to content

Commit 43f3219

Browse files
shdehnaviartonge
andcommitted
Make adjustments based on the review
Co-authored-by: Louis Chemineau <louis@chmn.me> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
1 parent 95b46ee commit 43f3219

2 files changed

Lines changed: 0 additions & 27 deletions

File tree

lib/private/Notification/Action.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,16 @@
2727
use OCP\Notification\IAction;
2828

2929
class Action implements IAction {
30-
/** @var string */
3130
protected string $label;
3231

33-
/** @var string */
3432
protected string $labelParsed;
3533

36-
/** @var string */
3734
protected string $link;
3835

39-
/** @var string */
4036
protected string $requestType;
4137

42-
/** @var string */
4338
protected string $icon;
4439

45-
/** @var bool */
4640
protected bool $primary;
4741

4842
public function __construct() {

lib/private/Notification/Notification.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,67 +32,46 @@
3232
use OCP\RichObjectStrings\IValidator;
3333

3434
class Notification implements INotification {
35-
/** @var string */
3635
protected string $app;
3736

38-
/** @var string */
3937
protected string $user;
4038

41-
/** @var \DateTime */
4239
protected \DateTime $dateTime;
4340

44-
/** @var string */
4541
protected string $objectType;
4642

47-
/** @var string */
4843
protected string $objectId;
4944

50-
/** @var string */
5145
protected string $subject;
5246

53-
/** @var array */
5447
protected array $subjectParameters;
5548

56-
/** @var string */
5749
protected string $subjectParsed;
5850

59-
/** @var string */
6051
protected string $subjectRich;
6152

62-
/** @var array */
6353
protected array $subjectRichParameters;
6454

65-
/** @var string */
6655
protected string $message;
6756

68-
/** @var array */
6957
protected array $messageParameters;
7058

71-
/** @var string */
7259
protected string $messageParsed;
7360

74-
/** @var string */
7561
protected string $messageRich;
7662

77-
/** @var array */
7863
protected array $messageRichParameters;
7964

80-
/** @var string */
8165
protected string $link;
8266

83-
/** @var string */
8467
protected string $icon;
8568

86-
/** @var array */
8769
protected array $actions;
8870

89-
/** @var array */
9071
protected array $actionsParsed;
9172

92-
/** @var bool */
9373
protected bool $hasPrimaryAction;
9474

95-
/** @var bool */
9675
protected bool $hasPrimaryParsedAction;
9776

9877
public function __construct(

0 commit comments

Comments
 (0)