Code Duplication    Length = 6-6 lines in 2 locations

Sources/Subs-Package.php 2 locations

@@ 2488-2493 (lines=6) @@
2485
				package_put_contents($working_file, $working_data, $testing);
2486
			}
2487
2488
			if ($working_file !== null)
2489
				$actions[] = array(
2490
					'type' => 'saved',
2491
					'filename' => $working_file,
2492
					'is_custom' => $is_custom,
2493
				);
2494
2495
			// Is this "now working on" file a theme specific one?
2496
			$is_custom = isset($theme_id_ref[$counter - 1]) ? $theme_id_ref[$counter - 1] : 0;
@@ 2650-2655 (lines=6) @@
2647
		package_put_contents($working_file, $working_data, $testing);
2648
	}
2649
2650
	if ($working_file !== null)
2651
		$actions[] = array(
2652
			'type' => 'saved',
2653
			'filename' => $working_file,
2654
			'is_custom' => $is_custom,
2655
		);
2656
2657
	$actions[] = array(
2658
		'type' => 'result',