diff --git a/DependencyInjection/Factory/FtpAdapterFactory.php b/DependencyInjection/Factory/FtpAdapterFactory.php index bcac7e8..986f822 100644 --- a/DependencyInjection/Factory/FtpAdapterFactory.php +++ b/DependencyInjection/Factory/FtpAdapterFactory.php @@ -47,12 +47,12 @@ class FtpAdapterFactory implements AdapterFactoryInterface ->scalarNode('password')->defaultNull()->end() ->booleanNode('passive')->defaultFalse()->end() ->booleanNode('create')->defaultFalse()->end() + ->booleanNode('ssl')->defaultFalse()->end() ->scalarNode('mode') ->defaultValue(defined('FTP_ASCII') ? FTP_ASCII : null) ->beforeNormalization() ->ifString() ->then(function($v) { return constant($v); }) - ->booleanNode('ssl')->defaultFalse()->end() ->end() ->end() ;