Code Duplication    Length = 3-3 lines in 2 locations

classes/class-lsx-wetu-importer.php 2 locations

@@ 292-294 (lines=3) @@
289
			$this->scale_images = true;
290
291
			$width = '1024';
292
			if ( isset( $this->options['width'] ) && '' !== $this->options['width'] ) {
293
				$width = $this->options['width'];
294
			}
295
296
			$height = '768';
297
			if ( isset( $this->options['height'] ) && '' !== $this->options['height'] ) {
@@ 1036-1038 (lines=3) @@
1033
		);
1034
1035
		if ( false !== $this->options ) {
1036
			if ( isset( $this->options['width'] ) && '' !== $this->options['width'] ) {
1037
				$defaults['width'] = $this->options['width'];
1038
			}
1039
1040
			if ( isset( $this->options['height'] ) && '' !== $this->options['height'] ) {
1041
				$defaults['height'] = $this->options['height'];