Skip to content

Commit 78acdb0

Browse files
Minor fixes in some code examples
1 parent 7ba300c commit 78acdb0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

security/ldap.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ definition:
6767
port: '389' # port
6868
version: 3 # version
6969
encryption: 'none' # either 'tls', 'ssl' or 'none'
70-
debug: false, # Enable debugging output
70+
debug: false # Enable debugging output
7171
referrals: false # Follow referrals returned by the server
7272
options: [] # additional PHP LDAP options
7373
# see http://php.net/manual/en/function.ldap-set-option.php
@@ -107,13 +107,13 @@ definition:
107107
$definition = new Definition(Ldap::class, array(
108108
'ext_ldap',
109109
array(
110-
'host' => '127.0.0.1'
111-
'port' => '389'
112-
'version' => 3
113-
'encryption' => 'none'
110+
'host' => '127.0.0.1',
111+
'port' => '389',
112+
'version' => 3,
113+
'encryption' => 'none',
114114
'debug' => false,
115-
'referrals' => false
116-
'options' => array()
115+
'referrals' => false,
116+
'options' => array(),
117117
)
118118
));
119119
$definition->setFactory(array(Ldap::class, 'create'));

0 commit comments

Comments
 (0)