We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 31 | 5 | private function treatBatchQuery(Request $request) |
|
| 32 | { |
||
| 33 | 5 | $params = $this->get('overblog_graphql.request_batch_parser')->parse($request); |
|
| 34 | 1 | $data = []; |
|
| 35 | |||
| 36 | 1 | foreach ($params as $i => $entry) { |
|
| 37 | 1 | $data[$i] = $this->get('overblog_graphql.request_executor')->execute($entry)->toArray(); |
|
| 38 | 1 | } |
|
| 39 | |||
| 40 | 1 | return $data; |
|
| 41 | } |
||
| 42 | |||
| 51 |