Passed
Push — master ( 3295fe...37d5c2 )
by Richard
04:14 queued 14s
created

Trait1   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 2 1
1
<?php
2
3
4
namespace Testcomponents\Storyblok\Blocks;
5
6
use Riclep\Storyblok\Block;
7
use Riclep\Storyblok\Traits\AppliesTypography;
8
9
class Trait1 extends Block
10
{
11
	use AppliesTypography;
12
13
	private $applyTypography = ['typography'];
0 ignored issues
show
introduced by
The private property $applyTypography is not used, and could be removed.
Loading history...
14
15
	public function init() {
16
		$this->applyTypography();
17
	}
18
}