diff vendor/symfony/var-dumper/Caster/DoctrineCaster.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
line wrap: on
line diff
--- a/vendor/symfony/var-dumper/Caster/DoctrineCaster.php	Thu Feb 28 13:11:55 2019 +0000
+++ b/vendor/symfony/var-dumper/Caster/DoctrineCaster.php	Thu May 09 15:34:47 2019 +0100
@@ -26,7 +26,7 @@
     public static function castCommonProxy(CommonProxy $proxy, array $a, Stub $stub, $isNested)
     {
         foreach (['__cloner__', '__initializer__'] as $k) {
-            if (array_key_exists($k, $a)) {
+            if (\array_key_exists($k, $a)) {
                 unset($a[$k]);
                 ++$stub->cut;
             }
@@ -38,7 +38,7 @@
     public static function castOrmProxy(OrmProxy $proxy, array $a, Stub $stub, $isNested)
     {
         foreach (['_entityPersister', '_identifier'] as $k) {
-            if (array_key_exists($k = "\0Doctrine\\ORM\\Proxy\\Proxy\0".$k, $a)) {
+            if (\array_key_exists($k = "\0Doctrine\\ORM\\Proxy\\Proxy\0".$k, $a)) {
                 unset($a[$k]);
                 ++$stub->cut;
             }
@@ -50,7 +50,7 @@
     public static function castPersistentCollection(PersistentCollection $coll, array $a, Stub $stub, $isNested)
     {
         foreach (['snapshot', 'association', 'typeClass'] as $k) {
-            if (array_key_exists($k = "\0Doctrine\\ORM\\PersistentCollection\0".$k, $a)) {
+            if (\array_key_exists($k = "\0Doctrine\\ORM\\PersistentCollection\0".$k, $a)) {
                 $a[$k] = new CutStub($a[$k]);
             }
         }