File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class Ldapdump extends SimulatorExecutable implements Simulator
7777 private $ password ;
7878
7979 /**
80- * Filter
80+ * Filter
8181 * <filter>
8282 *
8383 * @var string $filter
@@ -156,12 +156,11 @@ protected function createExecutable(Target $target) : Executable
156156 $ executable
157157 ->credentials ($ this ->bindDn , $ this ->password )
158158 ->useHost ($ this ->host )
159- ->usePort ($ this ->port )
159+ ->usePort (( int ) $ this ->port )
160160 ->useSearchBase ($ this ->searchBase )
161161 ->useFilter ($ this ->filter )
162162 ->useAttributes ($ this ->attrs )
163163 ->dumpTo ($ this ->getDumpTarget ($ target ));
164- ;
165164 // if compression is active and commands can be piped
166165 if ($ this ->isHandlingCompression ($ target )) {
167166 $ executable ->compressOutput ($ target ->getCompression ());
You can’t perform that action at this time.
0 commit comments