Passed
Pull Request — master (#10)
by Anton
04:10
created

Item   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __get() 0 4 1
1
<?php
2
3
namespace Modules\Entitizer\Utils\Definition {
4
5
	abstract class Item {
6
7
		protected $name = '';
8
9
		# Getter
10
11
		public function __get(string $property) {
12
13
			return ($this->$property ?? null);
14
		}
15
	}
16
}
17