Skip to content

Commit

Permalink
Fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 19, 2018
1 parent 50e20b2 commit 8a5add6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions htdocs/emailcollector/class/emailcollector.class.php
Expand Up @@ -967,7 +967,8 @@ public function doCollectOneCollector()
* @param string $prefix prefix
* @return array Array with number and object
*/
function createPartArray($structure, $prefix="") {
function createPartArray($structure, $prefix="")
{
//print_r($structure);
if (count($structure->parts) > 0) { // There some sub parts
foreach ($structure->parts as $count => $part) {
Expand All @@ -985,7 +986,8 @@ function createPartArray($structure, $prefix="") {
* @param string $partno Part no
* @param array $part_array array
*/
function addPartToArray($obj, $partno, & $part_array) {
function addPartToArray($obj, $partno, & $part_array)
{
$part_array[] = array('part_number' => $partno, 'part_object' => $obj);
if ($obj->type == 2) { // Check to see if the part is an attached email message, as in the RFC-822 type
//print_r($obj);
Expand Down

0 comments on commit 8a5add6

Please sign in to comment.