Skip to content

Commit de2afe7

Browse files
committed
address some copilot reviews
1 parent 003aff3 commit de2afe7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/en/identifiers.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Configuration options:
9898
custom object/classname here if it implements the
9999
`AdapterInterface`.
100100

101-
- **options**: Array of additional LDAP options, including
101+
- **options**: Array of additional LDAP options, including
102102
`tls`: Boolean. If `true`, tries to start TLS on the connection.
103103
Also LDAP config options such as
104104
`LDAP_OPT_PROTOCOL_VERSION` or `LDAP_OPT_NETWORK_TIMEOUT`. See
@@ -152,7 +152,7 @@ $identifier = [
152152
['message' => 'Removed user.']
153153
);
154154
},
155-
];
155+
],
156156
];
157157
```
158158

@@ -195,7 +195,7 @@ $identifier = [
195195
// Pass additional options to the resolver constructor.
196196
'option' => 'value',
197197
],
198-
];
198+
],
199199
];
200200
```
201201

@@ -213,6 +213,7 @@ As of 3.3.0, you should pass the constructed resolver into the identifier:
213213
$resolver = new \App\Identifier\Resolver\CustomResolver();
214214
$identifier = [
215215
'Authentication.Password' => [
216-
'resolver' => $resolver;
216+
'resolver' => $resolver,
217+
],
217218
];
218219
```

docs/en/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function testGet()
7878

7979
When testing Basic or Digest Authentication, you can add the environment
8080
variables that [PHP creates](https://php.net/manual/en/features.http-auth.php)
81-
automatically.:
81+
automatically:
8282

8383
``` php
8484
public function testGet()

0 commit comments

Comments
 (0)