Total Complexity | 4 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class PropertyTypeResolver |
||
11 | { |
||
12 | /** |
||
13 | * @var ReflectionProperty |
||
14 | */ |
||
15 | protected $reflection; |
||
16 | |||
17 | /** |
||
18 | * TypeResolver constructor. |
||
19 | * @param ReflectionProperty $reflection |
||
20 | */ |
||
21 | public function __construct(ReflectionProperty $reflection) |
||
22 | { |
||
23 | $this->reflection = $reflection; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @return PropertyType |
||
28 | */ |
||
29 | public function resolve(): PropertyType |
||
59 | } |
||
60 | |||
62 |