We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | |
| 185 | 185 | // do not find collections without oai_name set (used by oai-pmh plugin) |
| 186 | 186 | if ($settings['hideEmptyOaiNames']) { |
| 187 | - $constraints[] = $query->logicalNot($query->equals('oai_name', '')); |
|
| 187 | + $constraints[] = $query->logicalNot($query->equals('oai_name', '')); |
|
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | if (count($constraints)) { |
@@ -41,7 +41,8 @@ discard block |
||
| 41 | 41 | |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function getCollections($settings, $uid, $sysLangUid) { |
|
| 44 | + public function getCollections($settings, $uid, $sysLangUid) |
|
| 45 | + { |
|
| 45 | 46 | $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class) |
| 46 | 47 | ->getQueryBuilderForTable('tx_dlf_collections'); |
| 47 | 48 | |
@@ -98,7 +99,8 @@ discard block |
||
| 98 | 99 | return ['result' => $result, 'count' => $count]; |
| 99 | 100 | } |
| 100 | 101 | |
| 101 | - public function getSingleCollection($settings, $id, $sysLangUid) { |
|
| 102 | + public function getSingleCollection($settings, $id, $sysLangUid) |
|
| 103 | + { |
|
| 102 | 104 | $connectionPool = GeneralUtility::makeInstance(ConnectionPool::class); |
| 103 | 105 | $queryBuilder = $connectionPool->getQueryBuilderForTable('tx_dlf_collections'); |
| 104 | 106 | |
@@ -143,7 +145,8 @@ discard block |
||
| 143 | 145 | return $collection; |
| 144 | 146 | } |
| 145 | 147 | |
| 146 | - public function getCollectionForMetadata($pages) { |
|
| 148 | + public function getCollectionForMetadata($pages) |
|
| 149 | + { |
|
| 147 | 150 | // Get list of collections to show. |
| 148 | 151 | $query = $this->createQuery(); |
| 149 | 152 | |
@@ -193,7 +196,8 @@ discard block |
||
| 193 | 196 | return $query->execute(); |
| 194 | 197 | } |
| 195 | 198 | |
| 196 | - public function getIndexNameForSolr($settings, $set) { |
|
| 199 | + public function getIndexNameForSolr($settings, $set) |
|
| 200 | + { |
|
| 197 | 201 | $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class) |
| 198 | 202 | ->getQueryBuilderForTable('tx_dlf_collections'); |
| 199 | 203 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | $tokensToBeRemoved = $query->execute(); |
| 41 | 41 | |
| 42 | - foreach($tokensToBeRemoved as $token) { |
|
| 42 | + foreach ($tokensToBeRemoved as $token) { |
|
| 43 | 43 | $this->remove($token); |
| 44 | 44 | } |
| 45 | 45 | } |