We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -45,10 +45,10 @@ |
||
| 45 | 45 | { |
| 46 | 46 | return new ExpressionFunction( |
| 47 | 47 | 'getDocumentType', |
| 48 | - function () { |
|
| 48 | + function() { |
|
| 49 | 49 | // Not implemented, we only use the evaluator |
| 50 | 50 | }, |
| 51 | - function ($arguments, $cPid) { |
|
| 51 | + function($arguments, $cPid) { |
|
| 52 | 52 | /** @var RequestWrapper $requestWrapper */ |
| 53 | 53 | $requestWrapper = $arguments['request']; |
| 54 | 54 | $queryParams = $requestWrapper->getQueryParams(); |
@@ -45,10 +45,12 @@ discard block |
||
| 45 | 45 | { |
| 46 | 46 | return new ExpressionFunction( |
| 47 | 47 | 'getDocumentType', |
| 48 | - function () { |
|
| 48 | + function () |
|
| 49 | + { |
|
| 49 | 50 | // Not implemented, we only use the evaluator |
| 50 | 51 | }, |
| 51 | - function ($arguments, $cPid) { |
|
| 52 | + function ($arguments, $cPid) |
|
| 53 | + { |
|
| 52 | 54 | /** @var RequestWrapper $requestWrapper */ |
| 53 | 55 | $requestWrapper = $arguments['request']; |
| 54 | 56 | $queryParams = $requestWrapper->getQueryParams(); |
@@ -96,8 +98,7 @@ discard block |
||
| 96 | 98 | } else { |
| 97 | 99 | Helper::devLog('Failed to load document with UID ' . $piVars['id'], DEVLOG_SEVERITY_WARNING); |
| 98 | 100 | } |
| 99 | - } |
|
| 100 | - elseif (!empty($piVars['recordId'])) { |
|
| 101 | + } elseif (!empty($piVars['recordId'])) { |
|
| 101 | 102 | $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class) |
| 102 | 103 | ->getQueryBuilderForTable('tx_dlf_documents'); |
| 103 | 104 | |