comparison vendor/symfony/var-dumper/Caster/CutArrayStub.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
23 public function __construct(array $value, array $preservedKeys) 23 public function __construct(array $value, array $preservedKeys)
24 { 24 {
25 parent::__construct($value); 25 parent::__construct($value);
26 26
27 $this->preservedSubset = array_intersect_key($value, array_flip($preservedKeys)); 27 $this->preservedSubset = array_intersect_key($value, array_flip($preservedKeys));
28 $this->cut -= count($this->preservedSubset); 28 $this->cut -= \count($this->preservedSubset);
29 } 29 }
30 } 30 }