diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-02-24 23:39:58 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | df8680b14ae2e224eee6556b21d388f29a1aaa52 (patch) | |
tree | 18cca96b3182a931e99f0107c6e6d90982446639 /lib/Db | |
parent | 08982fc54088677cf4e9c5a0340a90e6eb406319 (diff) |
🩹 Remove traces of feed_id being nullable
- feed_id is not nullable so we remove default values
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/Item.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php index e601b03cb..63d1d158f 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -51,7 +51,7 @@ class Item extends Entity implements IAPI, \JsonSerializable protected $mediaThumbnail; /** @var string|null */ protected $mediaDescription; - /** @var int|null */ + /** @var int */ protected $feedId; /** @var string|null */ protected $lastModified = '0'; @@ -435,7 +435,7 @@ class Item extends Entity implements IAPI, \JsonSerializable return $this; } - public function setFeedId(?int $feedId = null): self + public function setFeedId(int $feedId): self { if ($this->feedId !== $feedId) { $this->feedId = $feedId; |