Skip to content

Commit

Permalink
[BUGFIX] Type-hinting for SiteUtility::getConnectionProperty()
Browse files Browse the repository at this point in the history
`SiteUtility::getConnectionProperty()` method must handle mixed types.

Fixes: TYPO3-Solr#3394
  • Loading branch information
dkd-kaehm committed Nov 8, 2022
1 parent c29dcec commit 5422f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/System/Util/SiteUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static function getConnectionProperty(
int $languageId,
string $scope,
$defaultValue = null
): string {
) {
$value = self::getConnectionPropertyOrFallback($typo3Site, $property, $languageId, $scope);
if ($value === null) {
return $defaultValue;
Expand Down

0 comments on commit 5422f25

Please sign in to comment.