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

Trait1::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
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
}