Skip to content

Commit

Permalink
Merge pull request #37230 from owncloud/LDAPSPortFix
Browse files Browse the repository at this point in the history
[Tests-only] cast LDAP port to int
  • Loading branch information
phil-davis authored Apr 9, 2020
2 parents 36f6e77 + 686ea6f commit 7bd7d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestHelpers/OcisHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static function deleteRevaUserData($user = "") {
*/
public static function getLdapPort() {
$port = \getenv("REVA_LDAP_PORT");
return $port ? $port : 636;
return $port ? (int)$port : 636;
}

/**
Expand Down

0 comments on commit 7bd7d4a

Please sign in to comment.