Code Duplication    Length = 11-11 lines in 2 locations

modules/sharedaddy/sharing-sources.php 2 locations

@@ 1027-1037 (lines=11) @@
1024
	public $icon = '\f204';
1025
	private $share_type = 'default';
1026
1027
	public function __construct( $id, array $settings ) {
1028
		parent::__construct( $id, $settings );
1029
1030
		if ( isset( $settings['share_type'] ) ) {
1031
			$this->share_type = $settings['share_type'];
1032
		}
1033
1034
		if ( 'official' == $this->button_style ) {
1035
			$this->smart = true;
1036
		} else {
1037
			$this->smart = false;
1038
		}
1039
	}
1040
@@ 1874-1884 (lines=11) @@
1871
	public $icon = '\f220';
1872
	private $share_type = 'default';
1873
1874
	public function __construct( $id, array $settings ) {
1875
		parent::__construct( $id, $settings );
1876
1877
		if ( isset( $settings['share_type'] ) ) {
1878
			$this->share_type = $settings['share_type'];
1879
		}
1880
1881
		if ( 'official' == $this->button_style ) {
1882
			$this->smart = true;
1883
		} else {
1884
			$this->smart = false;
1885
		}
1886
1887
	}