@@ -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 | * balloon |
@@ -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 | * balloon |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | switch ($option) { |
82 | 82 | case 'identity_class': |
83 | 83 | case 'attribute_map_class': |
84 | - $this->{$option} = (string) $value; |
|
84 | + $this->{$option} = (string)$value; |
|
85 | 85 | |
86 | 86 | break; |
87 | 87 | case 'adapter': |
@@ -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 | * balloon |
@@ -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 | * balloon |
@@ -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 | * balloon |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | foreach ($config as $option => $value) { |
171 | 171 | switch ($option) { |
172 | 172 | case 'uri': |
173 | - $this->uri = (string) $value; |
|
173 | + $this->uri = (string)$value; |
|
174 | 174 | |
175 | 175 | break; |
176 | 176 | case 'options': |
@@ -178,19 +178,19 @@ discard block |
||
178 | 178 | |
179 | 179 | break; |
180 | 180 | case 'binddn': |
181 | - $this->binddn = (string) $value; |
|
181 | + $this->binddn = (string)$value; |
|
182 | 182 | |
183 | 183 | break; |
184 | 184 | case 'bindpw': |
185 | - $this->bindpw = (string) $value; |
|
185 | + $this->bindpw = (string)$value; |
|
186 | 186 | |
187 | 187 | break; |
188 | 188 | case 'basedn': |
189 | - $this->basedn = (string) $value; |
|
189 | + $this->basedn = (string)$value; |
|
190 | 190 | |
191 | 191 | break; |
192 | 192 | case 'tls': |
193 | - $this->tls = (bool) (int) $value; |
|
193 | + $this->tls = (bool)(int)$value; |
|
194 | 194 | |
195 | 195 | break; |
196 | 196 | default: |
@@ -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 | * balloon |
@@ -72,21 +72,21 @@ discard block |
||
72 | 72 | |
73 | 73 | switch ($value['type']) { |
74 | 74 | case 'array': |
75 | - $arr = (array) $data[$value['attr']]; |
|
75 | + $arr = (array)$data[$value['attr']]; |
|
76 | 76 | unset($arr['count']); |
77 | 77 | $attrs[$attr] = $arr; |
78 | 78 | |
79 | 79 | break; |
80 | 80 | case 'string': |
81 | - $attrs[$attr] = (string) $store; |
|
81 | + $attrs[$attr] = (string)$store; |
|
82 | 82 | |
83 | 83 | break; |
84 | 84 | case 'int': |
85 | - $attrs[$attr] = (int) $store; |
|
85 | + $attrs[$attr] = (int)$store; |
|
86 | 86 | |
87 | 87 | break; |
88 | 88 | case 'bool': |
89 | - $attrs[$attr] = (bool) $store; |
|
89 | + $attrs[$attr] = (bool)$store; |
|
90 | 90 | |
91 | 91 | break; |
92 | 92 | 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 | * balloon |
@@ -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 | * balloon |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | |
75 | 75 | break; |
76 | 76 | case 'attr_sync_cache': |
77 | - $this->attr_sync_cache = (int) $value; |
|
77 | + $this->attr_sync_cache = (int)$value; |
|
78 | 78 | |
79 | 79 | break; |
80 | 80 | default: |
@@ -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 | * balloon |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | case 'provider_url': |
87 | 87 | case 'token_validation_url': |
88 | 88 | case 'identity_attribute': |
89 | - $this->{$option} = (string) $value; |
|
89 | + $this->{$option} = (string)$value; |
|
90 | 90 | unset($config[$option]); |
91 | 91 | |
92 | 92 | break; |