Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
13 | final class MethodConfig |
||
14 | { |
||
15 | 12 | public function __construct( |
|
35 | 12 | } |
|
36 | |||
37 | /** |
||
38 | * Whether a method has return type. |
||
39 | * |
||
40 | * @return bool `true` if return type specified and `false` otherwise. |
||
41 | * |
||
42 | * @psalm-assert-if-true TypeConfig $this->returnType |
||
43 | */ |
||
44 | 9 | public function hasReturnType(): bool |
|
49 |