"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Serializer/Encoder/CsvEncoder.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

CsvEncoder.php  (phplist-3.4.5.tgz):CsvEncoder.php  (phplist-3.4.6.tgz)
skipping to change at line 181 skipping to change at line 181
* {@inheritdoc} * {@inheritdoc}
*/ */
public function supportsDecoding($format) public function supportsDecoding($format)
{ {
return self::FORMAT === $format; return self::FORMAT === $format;
} }
/** /**
* Flattens an array and generates keys including the path. * Flattens an array and generates keys including the path.
* *
* @param array $array
* @param array $result
* @param string $keySeparator * @param string $keySeparator
* @param string $parentKey * @param string $parentKey
*/ */
private function flatten(array $array, array &$result, $keySeparator, $paren tKey = '') private function flatten(array $array, array &$result, $keySeparator, $paren tKey = '')
{ {
foreach ($array as $key => $value) { foreach ($array as $key => $value) {
if (\is_array($value)) { if (\is_array($value)) {
$this->flatten($value, $result, $keySeparator, $parentKey.$key.$ keySeparator); $this->flatten($value, $result, $keySeparator, $parentKey.$key.$ keySeparator);
} else { } else {
// Ensures an actual value is used when dealing with true and fa lse // Ensures an actual value is used when dealing with true and fa lse
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)