@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Micro |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | * |
| 163 | 163 | * @return Ldap |
| 164 | 164 | */ |
| 165 | - public function setOptions(? Iterable $config = null): self |
|
| 165 | + public function setOptions(? Iterable $config = null) : self |
|
| 166 | 166 | { |
| 167 | 167 | if (null === $config) { |
| 168 | 168 | return $this; |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | foreach ($config as $option => $value) { |
| 172 | 172 | switch ($option) { |
| 173 | 173 | case 'uri': |
| 174 | - $this->uri = (string) $value; |
|
| 174 | + $this->uri = (string)$value; |
|
| 175 | 175 | |
| 176 | 176 | break; |
| 177 | 177 | case 'options': |
@@ -179,19 +179,19 @@ discard block |
||
| 179 | 179 | |
| 180 | 180 | break; |
| 181 | 181 | case 'binddn': |
| 182 | - $this->binddn = (string) $value; |
|
| 182 | + $this->binddn = (string)$value; |
|
| 183 | 183 | |
| 184 | 184 | break; |
| 185 | 185 | case 'bindpw': |
| 186 | - $this->bindpw = (string) $value; |
|
| 186 | + $this->bindpw = (string)$value; |
|
| 187 | 187 | |
| 188 | 188 | break; |
| 189 | 189 | case 'basedn': |
| 190 | - $this->basedn = (string) $value; |
|
| 190 | + $this->basedn = (string)$value; |
|
| 191 | 191 | |
| 192 | 192 | break; |
| 193 | 193 | case 'tls': |
| 194 | - $this->tls = (bool) (int) $value; |
|
| 194 | + $this->tls = (bool)(int)$value; |
|
| 195 | 195 | |
| 196 | 196 | break; |
| 197 | 197 | default: |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Micro |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Micro |