Code Duplication    Length = 7-8 lines in 2 locations

src/Gallery.php 1 location

@@ 21-27 (lines=7) @@
18
19
	protected $args;
20
21
	public function __construct( Image $image, PostMeta $postmeta, Theme $theme, Utility $utility )
22
	{
23
		$this->image    = $image;
24
		$this->postmeta = $postmeta;
25
		$this->theme    = $theme;
26
		$this->utility  = $utility;
27
	}
28
29
	/**
30
	 * @return WP_Query

src/Video.php 1 location

@@ 22-29 (lines=8) @@
19
	protected $args;
20
	protected $video;
21
22
	public function __construct( Image $image, Oembed $oembed, PostMeta $postmeta, Theme $theme, Utility $utility )
23
	{
24
		$this->image    = $image;
25
		$this->oembed   = $oembed;
26
		$this->postmeta = $postmeta;
27
		$this->theme    = $theme;
28
		$this->utility  = $utility;
29
	}
30
31
	public function get( array $args = [] )
32
	{