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