Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
44 | public function getAnnotations() : array |
||
45 | { |
||
46 | /** @var AbstractWeave $object */ |
||
47 | $object = $this->object; |
||
48 | $annotations = unserialize($object->methodAnnotations); |
||
49 | if (array_key_exists($this->method, $annotations)) { |
||
50 | return $annotations[$this->method]; |
||
51 | } |
||
52 | |||
53 | return []; |
||
54 | } |
||
55 | |||
69 |