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

Asset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 4
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A hasFile() 0 2 1
1
<?php
2
3
4
namespace Riclep\Storyblok;
5
6
7
class Asset extends Block
8
{
9
	public function hasFile() {
10
		return $this->content['filename'];
11
	}
12
}