aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-04-15 22:04:37 +0200
committerGravatar GitHub <noreply@github.com> 2023-04-15 22:04:37 +0200
commitefcc8f387bb44901e0e3e284b7aa225e684549fd (patch)
tree406e75d949224a30d50dd61b27d418d167ff131d /app/Models/Entry.php
parent789c44b50222a24c565c783dbaf53d6ae465fc1d (diff)
PHPStan level 6 for remaining DAO classes (#5299)
* PHPStan level 6 FreshRSS_CategoryDAO Follow-up of https://github.com/FreshRSS/FreshRSS/pull/5298 Contributes to https://github.com/FreshRSS/FreshRSS/issues/4112 * PHPStan Level 6 for FeedDAO and a bit more * PHPStan Level 6 for tagDAO
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index 791853aca..d208b07ec 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -55,7 +55,7 @@ class FreshRSS_Entry extends Minz_Model {
$this->_guid($guid);
}
- /** @param array<string,mixed> $dao */
+ /** @param array<string,string|int> $dao */
public static function fromArray(array $dao): FreshRSS_Entry {
if (empty($dao['content'])) {
$dao['content'] = '';