Code Duplication    Length = 7-8 lines in 3 locations

src/Gallery.php 1 location

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

src/Helpers/Render.php 1 location

@@ 17-23 (lines=7) @@
14
	public $theme;
15
	public $utility;
16
17
	public function __construct( Media $media, PostMeta $postmeta, Theme $theme, Utility $utility )
18
	{
19
		$this->media    = $media;
20
		$this->postmeta = $postmeta;
21
		$this->theme    = $theme;
22
		$this->utility  = $utility;
23
	}
24
25
	public function blockquote( $metaKey = false, array $attributes = [] )
26
	{

src/Video.php 1 location

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