summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-06 17:38:24 +0300
committerAndrew Dolgov <[email protected]>2021-02-06 17:38:24 +0300
commitc94f1b6ff8a2a82fa0d6ad725144c5380fd0df7b (patch)
tree4b75ab38e2145422f4de313986ee7b32f1a92ade /classes/pluginhost.php
parentb6e1a5c91a0999a13eda4207fc23ff495637d697 (diff)
fix some more warnings reported by phpstan
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-xclasses/pluginhost.php4
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();