com doc/fr: Apply commit 2c3e4c33df74e38c8d9f98b1237666ea875c6e30: reference/ssh2/functions/ssh2-shell.xml

[email protected] (George Peter Banyard) Wed, 17 Feb 2021 03:08:54 +0000
Newsgroups php.doc.fr
Message-ID <[email protected]>
Commit:    b8260868f6f9138016f7cdc264bb6662e5c2e6b7
Author:    George Peter Banyard <[email protected]>         Wed, 17 Feb 2021 03:08:54 +0000
Parents:   896fe6496c50a80e117f0664396b3d45d7e1f078
Branches:  master

Link:       http://git.php.net/?p=doc/fr.git;a=commitdiff;h=b8260868f6f9138016f7cdc264bb6662e5c2e6b7

Log:
Apply commit 2c3e4c33df74e38c8d9f98b1237666ea875c6e30

Fix ssh2_shell() signature and return type section

Changed paths:
  M  reference/ssh2/functions/ssh2-shell.xml


Diff:
diff --git a/reference/ssh2/functions/ssh2-shell.xml b/reference/ssh2/functions/ssh2-shell.xml
index a65e86e7be..45953a9ff4 100644
--- a/reference/ssh2/functions/ssh2-shell.xml
+++ b/reference/ssh2/functions/ssh2-shell.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: b7d641378560a149cf5ede6e02dded94dd4154f3 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 2c3e4c33df74e38c8d9f98b1237666ea875c6e30 Maintainer: yannick Status: ready -->
 <!-- Reviewed: yes -->
 
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ssh2-shell">
@@ -12,10 +12,10 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>resource</type><methodname>ssh2_shell</methodname>
+   <type class="union"><type>resource</type><type>false</type></type><methodname>ssh2_shell</methodname>
    <methodparam><type>resource</type><parameter>session</parameter></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>term_type</parameter><initializer>"vanilla"</initializer></methodparam>
-   <methodparam choice="opt"><type>array</type><parameter>env</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>env</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>width</parameter><initializer>80</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>height</parameter><initializer>25</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>width_height_type</parameter><initializer>SSH2_TERM_UNIT_CHARS</initializer></methodparam>
@@ -89,6 +89,7 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
+   Retourne un flux de &resource; en cas de succès, &return.falseforfailure;.
   </para>
  </refsect1>