_sanitizeClob touches no instance variables

This commit is contained in:
Felix J. Ogris 2022-11-04 21:25:53 +01:00
parent 604c931875
commit 75d28ef423
1 changed files with 2 additions and 1 deletions

View File

@ -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);