comparison vendor/symfony/http-kernel/DataCollector/DumpDataCollector.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
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
174 $this->isCollected = true; 174 $this->isCollected = true;
175 $this->clonesCount = 0; 175 $this->clonesCount = 0;
176 $this->clonesIndex = 0; 176 $this->clonesIndex = 0;
177 } 177 }
178 178
179 /**
180 * @internal
181 */
182 public function serialize() 179 public function serialize()
183 { 180 {
184 if ($this->clonesCount !== $this->clonesIndex) { 181 if ($this->clonesCount !== $this->clonesIndex) {
185 return 'a:0:{}'; 182 return 'a:0:{}';
186 } 183 }
196 } 193 }
197 194
198 return $ser; 195 return $ser;
199 } 196 }
200 197
201 /**
202 * @internal
203 */
204 public function unserialize($data) 198 public function unserialize($data)
205 { 199 {
206 $this->data = unserialize($data); 200 $this->data = unserialize($data);
207 $charset = array_pop($this->data); 201 $charset = array_pop($this->data);
208 $fileLinkFormat = array_pop($this->data); 202 $fileLinkFormat = array_pop($this->data);