Skip to content

Commit

Permalink
Merge pull request #2083 from nextcloud/automated/noid/master-update-…
Browse files Browse the repository at this point in the history
…nextcloud-ocp

[master] Update nextcloud/ocp dependency
  • Loading branch information
github-actions[bot] authored Oct 28, 2024
2 parents 743560f + d492b3b commit 78c510e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions lib/Model/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
namespace OCA\Notifications\Model;

use OCP\AppFramework\Db\Entity;
use OCP\DB\Types;

/**
*
Expand Down Expand Up @@ -38,10 +39,10 @@ class Settings extends Entity {
protected $nextSendTime;

public function __construct() {
$this->addType('userId', 'string');
$this->addType('batchTime', 'int');
$this->addType('lastSendId', 'int');
$this->addType('nextSendTime', 'int');
$this->addType('userId', Types::STRING);
$this->addType('batchTime', Types::INTEGER);
$this->addType('lastSendId', Types::BIGINT);
$this->addType('nextSendTime', Types::INTEGER);
}

public function asArray(): array {
Expand Down

0 comments on commit 78c510e

Please sign in to comment.