We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 14 | class ConnectionBuilder |
||
| 15 | { |
||
| 16 | 21 | public static function connectionFromArray(array $data, $args = []): Connection |
|
| 20 | |||
| 21 | 7 | public static function connectionFromPromisedArray($dataPromise, $args = []) |
|
| 25 | |||
| 26 | 6 | public static function connectionFromArraySlice(array $arraySlice, $args, array $meta): Connection |
|
| 30 | |||
| 31 | 6 | public static function connectionFromPromisedArraySlice($dataPromise, $args, array $meta) |
|
| 35 | |||
| 36 | 2 | public static function cursorForObjectInConnection(array $data, $object): ?string |
|
| 40 | |||
| 41 | 1 | public static function getOffsetWithDefault(?string $cursor, int $defaultOffset): int |
|
| 45 | |||
| 46 | 1 | public static function offsetToCursor($offset): string |
|
| 50 | |||
| 51 | 1 | public static function cursorToOffset($cursor): string |
|
| 55 | |||
| 56 | 45 | private static function call(string $func, array $arguments) |
|
| 77 | } |
||
| 78 |
If you suppress an error, we recommend checking for the error condition explicitly: