reference/ssh2/functions/ssh2-connect.xml
d6352b08091d6b6c3795fd95cbfe282046ef7681
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>resource</type><methodname>ssh2_connect</methodname>
12
+
<type class="union"><type>resource</type><type>false</type></type><methodname>ssh2_connect</methodname>
13
13
<methodparam><type>string</type><parameter>host</parameter></methodparam>
14
14
<methodparam choice="opt"><type>int</type><parameter>port</parameter><initializer>22</initializer></methodparam>
15
15
<methodparam choice="opt"><type>array</type><parameter>methods</parameter></methodparam>
...
...
@@ -300,6 +300,7 @@ if (!$connection) die('Connection failed');
300
300
<member><function>ssh2_auth_none</function></member>
301
301
<member><function>ssh2_auth_password</function></member>
302
302
<member><function>ssh2_auth_pubkey_file</function></member>
303
+
<member><function>ssh2_disconnect</function></member>
303
304
</simplelist>
304
305
</para>
305
306
</refsect1>
306
307