Commit f29f8940 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚑 fix(ldap) Fix code style problems

issue #1
parent 3eb977b5
Pipeline #9184 failed with stages
in 37 seconds
......@@ -82,7 +82,7 @@ class Schema
* @param array<string, array<string>> $attrs
* @return array<string, array<string>>
*/
public function toModReplaceArray(array $attrs): array
public function toModReplaceArray (array $attrs): array
{
$ourAttrs = [
'olcObjectIdentifier' => $this->objectIdentifiers,
......@@ -105,7 +105,7 @@ class Schema
*
* @return array<string, array<string>>
*/
public function toAddArray(): array
public function toAddArray (): array
{
$entry = [
'olcObjectIdentifier' => $this->objectIdentifiers,
......@@ -128,7 +128,7 @@ class Schema
/**
* Builds dn based on cn and base
*/
public function computeDn(string $base = 'cn=schema,cn=config'): string
public function computeDn (string $base = 'cn=schema,cn=config'): string
{
return 'cn='.$this->cn.','.$base;
}
......@@ -136,7 +136,7 @@ class Schema
/**
* @throws \FusionDirectory\Ldap\Exception
*/
static public function parseSchemaFile(string $cn, string $path): Schema
static public function parseSchemaFile (string $cn, string $path): Schema
{
$errors = [];
set_error_handler(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment