| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | 34 | protected function filterContractAnnotation(array $annotations) |
|
| 44 | { |
||
| 45 | 34 | $contractAnnotations = []; |
|
| 46 | |||
| 47 | 34 | foreach ($annotations as $annotation) { |
|
| 48 | 12 | if ($annotation instanceof $this->expectedAnnotationType) { |
|
| 49 | 12 | $contractAnnotations[] = $annotation; |
|
| 50 | } |
||
| 51 | } |
||
| 52 | |||
| 53 | 34 | return $contractAnnotations; |
|
| 54 | } |
||
| 55 | } |
||
| 56 |