| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 51 | 2 | public function getAnnotations() : array |
|
| 52 | { |
||
| 53 | /** @var AbstractWeave $object */ |
||
| 54 | 2 | $object = $this->object; |
|
| 55 | 2 | $annotations = unserialize($object->methodAnnotations); |
|
| 56 | 2 | if (array_key_exists($this->method, $annotations)) { |
|
| 57 | 1 | return $annotations[$this->method]; |
|
| 58 | } |
||
| 59 | |||
| 60 | 1 | return []; |
|
| 61 | } |
||
| 62 | |||
| 78 |