Code Duplication    Length = 5-5 lines in 2 locations

plugins/_depricated/convert-headers-styles/CssToInlineStyles.php 2 locations

@@ 318-322 (lines=5) @@
315
                    $propertyChunks = array();
316
317
                    // build chunks
318
                    foreach ($properties as $key => $values) {
319
                        foreach ((array) $values as $value) {
320
                            $propertyChunks[] = $key . ': ' . $value . ';';
321
                        }
322
                    }
323
324
                    // build properties string
325
                    $propertiesString = implode(' ', $propertyChunks);
@@ 407-411 (lines=5) @@
404
                    $propertyChunks = array();
405
406
                    // build chunks
407
                    foreach ($properties as $key => $values) {
408
                        foreach ((array) $values as $value) {
409
                            $propertyChunks[] = $key . ': ' . $value . ';';
410
                        }
411
                    }
412
413
                    // build properties string
414
                    $propertiesString = implode(' ', $propertyChunks);