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