🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-19 10:12:11 | PHP 8.1.34
📂
/ (Root)
/
home
/
therahul
/
thedasstores.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Doctrine
/
Types
📍 /home/therahul/thedasstores.com/wp-content/plugins/mailpoet/lib/Doctrine/Types
🔄 Refresh
✏️
Editing: JsonOrSerializedType.php
Writable
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Doctrine\Types; if (!defined('ABSPATH')) exit; use MailPoetVendor\Doctrine\DBAL\Platforms\AbstractPlatform; class JsonOrSerializedType extends JsonType { const NAME = 'json_or_serialized'; public function convertToPHPValue($value, AbstractPlatform $platform) { if ($value === null) { return null; } if (is_resource($value)) { $value = stream_get_contents($value); } if (is_serialized($value)) { return unserialize($value); } return parent::convertToPHPValue($value, $platform); } public function getName() { return self::NAME; } }
💾 Save Changes
❌ Cancel