Skip to content

Commit

Permalink
fix implicitly nullable via default value null
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
  • Loading branch information
Grotax committed Jan 9, 2025
1 parent 6c17dc1 commit 0202c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ You can also check [on GitHub](https://github.com/nextcloud/news/releases), the
### Changed
- add explanations for the individual values in the feed information table
- show error message from `opml` import in web-ui
- enable PHP 8.4

### Fixed
- fix proxy port removed if standard port for the protocol (#3027)
Expand Down
2 changes: 1 addition & 1 deletion lib/Service/ItemServiceV2.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function read(string $userId, int $id, bool $read): Entity
*
* @return int|null Amount of deleted items or null if not applicable
*/
public function purgeOverThreshold(int $threshold = null, bool $purgeUnread = null): ?int
public function purgeOverThreshold(?int $threshold = null, ?bool $purgeUnread = null): ?int
{
$threshold = $threshold ?? $this->config->getValueInt(
Application::NAME,
Expand Down

0 comments on commit 0202c79

Please sign in to comment.