Skip to content

Commit

Permalink
ci: Fix more psalm things
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Jan 10, 2025
1 parent c6128ce commit 8c22c48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/Dashboard/Widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function getIconUrl(): string {
}

/**
* @return WidgetButton[]
* @return list<WidgetButton>
*/
public function getWidgetButtons(string $userId): array {
$buttons = [];
Expand Down
10 changes: 5 additions & 5 deletions lib/Model/Announcement.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ class Announcement extends Entity {
protected $notTypes;

public function __construct() {
$this->addType('time', 'int');
$this->addType('time', 'integer');
$this->addType('user', 'string');
$this->addType('subject', 'string');
$this->addType('message', 'string');
$this->addType('plainMessage', 'string');
$this->addType('allowComments', 'int');
$this->addType('scheduleTime', 'int');
$this->addType('deleteTime', 'int');
$this->addType('allowComments', 'integer');
$this->addType('scheduleTime', 'integer');
$this->addType('deleteTime', 'integer');
$this->addType('groups', 'string');
$this->addType('notTypes', 'int');
$this->addType('notTypes', 'integer');
}

public function getParsedSubject(): string {
Expand Down

0 comments on commit 8c22c48

Please sign in to comment.