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