Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/tests/AccessTest.php')
-rw-r--r--apps/user_ldap/tests/AccessTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/AccessTest.php b/apps/user_ldap/tests/AccessTest.php
index 35d38b24920..a805f387086 100644
--- a/apps/user_ldap/tests/AccessTest.php
+++ b/apps/user_ldap/tests/AccessTest.php
@@ -538,7 +538,7 @@ class AccessTest extends TestCase {
->willReturn($fakeConnection);
$this->connection->expects($this->any())
->method('__get')
- ->willReturnCallback(function($key) use ($base) {
+ ->willReturnCallback(function ($key) use ($base) {
if(stripos($key, 'base') !== false) {
return $base;
}
@@ -616,7 +616,7 @@ class AccessTest extends TestCase {
];
$expected = $fakeLdapEntries;
unset($expected['count']);
- array_walk($expected, function(&$v) {
+ array_walk($expected, function (&$v) {
$v['dn'] = [$v['dn']]; // dn is translated into an array internally for consistency
});
@@ -628,7 +628,7 @@ class AccessTest extends TestCase {
$this->userMapper->expects($this->exactly($fakeLdapEntries['count']))
->method('getNameByDN')
- ->willReturnCallback(function($fdn) {
+ ->willReturnCallback(function ($fdn) {
$parts = ldap_explode_dn($fdn, false);
return $parts[0];
});