Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / var-dumper / Caster / PdoCaster.php
index e60b9275fd89f14518cb4426c7d6521b76bf536b..b86678247736ca10a91bef344c15dbcc012bc1d0 100644 (file)
@@ -77,6 +77,12 @@ class PdoCaster
             } catch (\Exception $e) {
             }
         }
+        if (isset($attr[$k = 'STATEMENT_CLASS'][1])) {
+            if ($attr[$k][1]) {
+                $attr[$k][1] = new ArgsStub($attr[$k][1], '__construct', $attr[$k][0]);
+            }
+            $attr[$k][0] = new ClassStub($attr[$k][0]);
+        }
 
         $prefix = Caster::PREFIX_VIRTUAL;
         $a += array(