Code Duplication    Length = 3-3 lines in 2 locations

lib/modules/mod_wkhtmltoimage.php 1 location

@@ 52-54 (lines=3) @@
49
				$execString .= " --cookie " . escapeshellarg( $name ) . " " . escapeshellarg( $value );
50
			}
51
52
			foreach ($this->headers as $name => $value) {
53
				$execString .= " --custom-header " . escapeshellarg( $name ) . " " . escapeshellarg( $value );
54
			}
55
56
			$execString .= " $url $tempFile";
57
			$execOutput = array();

lib/modules/mod_wkhtmltopdf.php 1 location

@@ 53-55 (lines=3) @@
50
				$execString .= " --cookie " . escapeshellarg( $name ) . " " . escapeshellarg( $value );
51
			}
52
53
			foreach ($this->headers as $name => $value) {
54
				$execString .= " --custom-header " . escapeshellarg( $name ) . " " . escapeshellarg( $value );
55
			}
56
57
			if ($this->cover) {
58
				$execString .= " cover " . escapeshellarg( $this->cover );