Code Duplication    Length = 2-2 lines in 2 locations

modules/videopress-v2/class.videopress-video.php 1 location

@@ 222-223 (lines=2) @@
219
		if ( isset( $data->width ) && $data->width > 0 )
220
			$this->calculated_width = absint( $data->width );
221
222
		if ( isset( $data->height ) && $data->height > 0 )
223
			$this->calculated_height = absint( $data->height );
224
225
		if ( isset( $data->age_rating ) )
226
			$this->age_rating = absint( $this->age_rating );

modules/videopress/class.videopress-video.php 1 location

@@ 211-212 (lines=2) @@
208
		if ( isset( $data->width ) && $data->width > 0 )
209
			$this->calculated_width = absint( $data->width );
210
211
		if ( isset( $data->height ) && $data->height > 0 )
212
			$this->calculated_height = absint( $data->height );
213
214
		if ( isset( $data->age_rating ) )
215
			$this->age_rating = absint( $this->age_rating );