diff options
author | Andrew Dolgov <[email protected]> | 2021-02-06 17:38:24 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-06 17:38:24 +0300 |
commit | c94f1b6ff8a2a82fa0d6ad725144c5380fd0df7b (patch) | |
tree | 4b75ab38e2145422f4de313986ee7b32f1a92ade /classes/pluginhost.php | |
parent | b6e1a5c91a0999a13eda4207fc23ff495637d697 (diff) |
fix some more warnings reported by phpstan
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-x | classes/pluginhost.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php index e56a237fc..bcde12551 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -390,13 +390,13 @@ class PluginHost { if ($sth->fetch()) { $sth = $this->pdo_data->prepare("UPDATE ttrss_plugin_storage SET content = ? WHERE owner_uid= ? AND name = ?"); - $sth->execute([(string)$content, $this->owner_uid, $plugin]); + $sth->execute([$content, $this->owner_uid, $plugin]); } else { $sth = $this->pdo_data->prepare("INSERT INTO ttrss_plugin_storage (name,owner_uid,content) VALUES (?, ?, ?)"); - $sth->execute([$plugin, $this->owner_uid, (string)$content]); + $sth->execute([$plugin, $this->owner_uid, $content]); } $this->pdo_data->commit(); |