We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 57-62 (lines=6) @@ | ||
| 54 | ||
| 55 | new ExpressionFunction( |
|
| 56 | 'mutateAndGetPayloadCallback', |
|
| 57 | function ($mutateAndGetPayload) { |
|
| 58 | $code = 'function ($value) use ('.TypeGenerator::USE_FOR_CLOSURES.', $args, $info) { '; |
|
| 59 | $code .= 'return '.$mutateAndGetPayload.'; }'; |
|
| 60 | ||
| 61 | return $code; |
|
| 62 | }, |
|
| 63 | function () {} |
|
| 64 | ), |
|
| 65 | ||
| @@ 68-73 (lines=6) @@ | ||
| 65 | ||
| 66 | new ExpressionFunction( |
|
| 67 | 'mutateAndGetPayloadCallback', |
|
| 68 | function ($mutateAndGetPayload) { |
|
| 69 | $code = 'function ($value) use ('.TypeGenerator::USE_FOR_CLOSURES.', $args, $info) { '; |
|
| 70 | $code .= 'return '.$mutateAndGetPayload.'; }'; |
|
| 71 | ||
| 72 | return $code; |
|
| 73 | }, |
|
| 74 | function () {} |
|
| 75 | ), |
|
| 76 | ||