We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -400,7 +400,7 @@ discard block |
||
| 400 | 400 | return ''; |
| 401 | 401 | } |
| 402 | 402 | |
| 403 | - $makeCacheKey = function ($pid, $uid) { |
|
| 403 | + $makeCacheKey = function($pid, $uid) { |
|
| 404 | 404 | return $pid . '.' . $uid; |
| 405 | 405 | }; |
| 406 | 406 | |
@@ -925,7 +925,7 @@ discard block |
||
| 925 | 925 | self::log('Could not fetch data from URL "' . $url . '". Error: ' . $e->getMessage() . '.', LOG_SEVERITY_WARNING); |
| 926 | 926 | return false; |
| 927 | 927 | } |
| 928 | - $content = $response->getBody()->getContents(); |
|
| 928 | + $content = $response->getBody()->getContents(); |
|
| 929 | 929 | |
| 930 | 930 | return $content; |
| 931 | 931 | } |
@@ -400,7 +400,8 @@ |
||
| 400 | 400 | return ''; |
| 401 | 401 | } |
| 402 | 402 | |
| 403 | - $makeCacheKey = function ($pid, $uid) { |
|
| 403 | + $makeCacheKey = function ($pid, $uid) |
|
| 404 | + { |
|
| 404 | 405 | return $pid . '.' . $uid; |
| 405 | 406 | }; |
| 406 | 407 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | $document = $this->arguments['document']; |
| 38 | 38 | $getTitle = $this->arguments['getTitle']; |
| 39 | 39 | |
| 40 | - $title = $document['title'] ?: $document['metsOrderlabel']; |
|
| 40 | + $title = $document['title'] ? : $document['metsOrderlabel']; |
|
| 41 | 41 | |
| 42 | 42 | if (empty($title) && $getTitle) { |
| 43 | 43 | $superiorTitle = Doc::getTitle($document['uid'], true); |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | if (empty($title)) { |
| 50 | - $title = LocalizationUtility::translate('noTitle', 'dlf') ?: ''; |
|
| 50 | + $title = LocalizationUtility::translate('noTitle', 'dlf') ? : ''; |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | return $title; |