From 75d28ef423e77b23acb14e0b5c526bcec94a5b90 Mon Sep 17 00:00:00 2001 From: "Felix J. Ogris" Date: Fri, 4 Nov 2022 21:25:53 +0100 Subject: [PATCH] _sanitizeClob touches no instance variables --- lib/Data/Database.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Data/Database.php b/lib/Data/Database.php index 3aaac84..3771b5d 100644 --- a/lib/Data/Database.php +++ b/lib/Data/Database.php @@ -839,10 +839,11 @@ class Database extends AbstractData * From: https://stackoverflow.com/questions/36200534/pdo-oci-into-a-clob-field * * @access public + * @static * @param int|string|resource $value * @return int|string */ - public function _sanitizeClob($value) + public static function _sanitizeClob($value) { if (is_resource($value)) { $value = stream_get_contents($value);