Conditions | 3 |
Paths | 3 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
30 | 4 | public function fetchEntityPages( array $entityIds ): array { |
|
31 | 4 | if ( empty( $entityIds ) ) { |
|
32 | 2 | return []; |
|
33 | } |
||
34 | |||
35 | 2 | $response = $this->makeRequest( $this->constructRequestUrl( $entityIds ) ); |
|
36 | 2 | return is_string( $response ) ? $this->getEntityPagesFromResponse( $response ) : []; |
|
37 | } |
||
38 | |||
61 | } |