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