We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -121,6 +121,9 @@ |
||
121 | 121 | return $node; |
122 | 122 | } |
123 | 123 | |
124 | + /** |
|
125 | + * @param string $name |
|
126 | + */ |
|
124 | 127 | private function addFieldsSelection($name, $enabledBuilder = true) |
125 | 128 | { |
126 | 129 | $builder = new TreeBuilder(); |
@@ -246,6 +246,9 @@ discard block |
||
246 | 246 | return $type; |
247 | 247 | } |
248 | 248 | |
249 | + /** |
|
250 | + * @param callable $expression |
|
251 | + */ |
|
249 | 252 | private function resolveAccessAndWrapResolveCallback($expression, callable $resolveCallback = null) |
250 | 253 | { |
251 | 254 | return function () use ($expression, $resolveCallback) { |
@@ -271,6 +274,10 @@ discard block |
||
271 | 274 | if (is_array($result) || $result instanceof \ArrayAccess) { |
272 | 275 | $result = array_filter( |
273 | 276 | array_map( |
277 | + |
|
278 | + /** |
|
279 | + * @param callable $object |
|
280 | + */ |
|
274 | 281 | function ($object) use ($checkAccess) { |
275 | 282 | return $checkAccess($object) ? $object : null; |
276 | 283 | }, |
@@ -279,6 +286,10 @@ discard block |
||
279 | 286 | ); |
280 | 287 | } elseif ($result instanceof Connection) { |
281 | 288 | $result->edges = array_map( |
289 | + |
|
290 | + /** |
|
291 | + * @param callable $edge |
|
292 | + */ |
|
282 | 293 | function (Edge $edge) use ($checkAccess) { |
283 | 294 | $edge->node = $checkAccess($edge->node) ? $edge->node : null; |
284 | 295 |