| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 3 |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 47 | 1 | public function getEntityDocumentsForIds( array $entityIds ) { |
|
| 48 | 1 | $entities = []; |
|
| 49 | |||
| 50 | 1 | foreach( $entityIds as $entityId ) { |
|
| 51 | 1 | $entity = $this->getEntityDocumentForId( $entityId ); |
|
| 52 | 1 | if( $entity !== null ) { |
|
| 53 | 1 | $entities[] = $entity; |
|
| 54 | 1 | } |
|
| 55 | 1 | } |
|
| 56 | |||
| 57 | 1 | return $entities; |
|
| 58 | } |
||
| 59 | } |
||
| 60 |