com doc/ja: Fix ssh2_shell() signature and return type section: reference/ssh2/functions/ssh2-shell .xml
[email protected] (Yoshinari Takaoka) Thu, 11 Feb 2021 15:46:30 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: d9573aa0ebcee50d487f361871b967e7aff8c4c5 Author: Yoshinari Takaoka <[email protected]> Fri, 12 Feb 2021 00:46:30 +0900 Parents: 89fa661399c95710f31445b2c09693616e5b3dac Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=d9573aa0ebcee50d487f361871b967e7aff8c4c5 Log: 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 c3c6b38b72..7a0fc6fa82 100644 --- a/reference/ssh2/functions/ssh2-shell.xml +++ b/reference/ssh2/functions/ssh2-shell.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b7d641378560a149cf5ede6e02dded94dd4154f3 Maintainer: shimooka Status: ready --> +<!-- EN-Revision: 2c3e4c33df74e38c8d9f98b1237666ea875c6e30 Maintainer: shimooka Status: ready --> +<!-- Credits: mumumu --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ssh2-shell"> <refnamediv> <refname>ssh2_shell</refname> @@ -10,10 +11,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> @@ -87,7 +88,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - + 成功した場合、ストリームリソースを返します。 + &return.falseforfailure;. </para> </refsect1>