Code Duplication    Length = 3-3 lines in 2 locations

lib/modules/mod_wkhtmltoimage.php 1 location

@@ 48-50 (lines=3) @@
45
				}
46
			}
47
48
			foreach ($this->cookies as $name => $value) {
49
				$execString .= " --cookie " . escapeshellarg( $name ) . " " . escapeshellarg( $value );
50
			}
51
52
			foreach ($this->headers as $name => $value) {
53
				$execString .= " --custom-header " . escapeshellarg( $name ) . " " . escapeshellarg( $value );

lib/modules/mod_wkhtmltopdf.php 1 location

@@ 49-51 (lines=3) @@
46
				}
47
			}
48
49
			foreach ($this->cookies as $name => $value) {
50
				$execString .= " --cookie " . escapeshellarg( $name ) . " " . escapeshellarg( $value );
51
			}
52
53
			foreach ($this->headers as $name => $value) {
54
				$execString .= " --custom-header " . escapeshellarg( $name ) . " " . escapeshellarg( $value );