We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 65-70 (lines=6) @@ | ||
62 | ||
63 | $entities = call_user_func($this->fetcher, $offset, $limit); |
|
64 | ||
65 | return $this->handleEntities($entities, function ($entities) use ($args, $offset, $total) { |
|
66 | return ConnectionBuilder::connectionFromArraySlice($entities, $args, [ |
|
67 | 'sliceStart' => $offset, |
|
68 | 'arrayLength' => $total, |
|
69 | ]); |
|
70 | }); |
|
71 | } |
|
72 | ||
73 | /** |
|
@@ 94-99 (lines=6) @@ | ||
91 | } else { |
|
92 | $entities = call_user_func($this->fetcher, $offset, $limit + 2); |
|
93 | ||
94 | return $this->handleEntities($entities, function ($entities) use ($args, $offset) { |
|
95 | return ConnectionBuilder::connectionFromArraySlice($entities, $args, [ |
|
96 | 'sliceStart' => $offset, |
|
97 | 'arrayLength' => $offset + count($entities), |
|
98 | ]); |
|
99 | }); |
|
100 | } |
|
101 | } |
|
102 |