We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 50-55 (lines=6) @@ | ||
47 | ||
48 | $entities = \call_user_func($this->fetcher, $offset, $limit); |
|
49 | ||
50 | return $this->handleEntities($entities, function ($entities) use ($args, $offset, $total) { |
|
51 | return ConnectionBuilder::connectionFromArraySlice($entities, $args, [ |
|
52 | 'sliceStart' => $offset, |
|
53 | 'arrayLength' => $total, |
|
54 | ]); |
|
55 | }); |
|
56 | } |
|
57 | ||
58 | /** |
|
@@ 79-84 (lines=6) @@ | ||
76 | } else { |
|
77 | $entities = \call_user_func($this->fetcher, $offset, $limit ? $limit + 2 : $limit); |
|
78 | ||
79 | return $this->handleEntities($entities, function ($entities) use ($args, $offset) { |
|
80 | return ConnectionBuilder::connectionFromArraySlice($entities, $args, [ |
|
81 | 'sliceStart' => $offset, |
|
82 | 'arrayLength' => $offset + \count($entities), |
|
83 | ]); |
|
84 | }); |
|
85 | } |
|
86 | } |
|
87 |