-
Notifications
You must be signed in to change notification settings - Fork 869
Update ext/oci8 methodsynopses based on stubs #601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ba2fb77
756c498
5bf2bdd
610f3a7
1cc65c4
964cbcd
b1a082a
9b3a7bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ | |
| <refsect1 role="description"> | ||
| &reftitle.description; | ||
| <methodsynopsis role="oop"> | ||
| <type>bool</type><methodname>OCICollection::assign</methodname> | ||
| <modifier>public</modifier> <type>bool</type><methodname>OCICollection::assign</methodname> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems OCICollection::assignElem wasn't updated.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ohh, I think that must be because of the different capitalization (
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I created php/php-src#7405 to fix the inconsistency
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That new PR doesn't seem to add the public modifier to OCICollection::assignElem ?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, the new PR is unrelated from
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yay for tidy-ups! Will you update this (601) PR with
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I've just pushed all the changes. In the meanwhile, I found out why |
||
| <methodparam><type>OCICollection</type><parameter>from</parameter></methodparam> | ||
| </methodsynopsis> | ||
| <para> | ||
|
|
@@ -69,13 +69,12 @@ | |
| &reftitle.seealso; | ||
| <para> | ||
| <simplelist> | ||
| <member><xref linkend="oci-collection.append" /></member> | ||
| <member><xref linkend="oci-collection.append"/></member> | ||
| </simplelist> | ||
| </para> | ||
| </refsect1> | ||
|
|
||
| </refentry> | ||
|
|
||
| <!-- Keep this comment at the end of the file | ||
| Local variables: | ||
| mode: sgml | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,12 +9,12 @@ | |
| <refsect1 role="description"> | ||
| &reftitle.description; | ||
| <methodsynopsis role="oop"> | ||
|
kocsismate marked this conversation as resolved.
|
||
| <type>bool</type><methodname>OCILob::close</methodname> | ||
| <void /> | ||
| <modifier>public</modifier> <type>bool</type><methodname>OCILob::close</methodname> | ||
| <void/> | ||
| </methodsynopsis> | ||
| <para> | ||
| Closes descriptor of LOB or FILE. This function should be used only with | ||
| <xref linkend="oci-lob.writetemporary" />. | ||
| <xref linkend="oci-lob.writetemporary"/>. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The API for writeTemporary doesn't seem to have been updated. |
||
| </para> | ||
| </refsect1> | ||
|
|
||
|
|
@@ -57,13 +57,12 @@ | |
| &reftitle.seealso; | ||
| <para> | ||
| <simplelist> | ||
| <member><xref linkend="oci-lob.writetemporary" /></member> | ||
| <member><xref linkend="oci-lob.writetemporary"/></member> | ||
| </simplelist> | ||
| </para> | ||
| </refsect1> | ||
|
|
||
| </refentry> | ||
|
|
||
| <!-- Keep this comment at the end of the file | ||
| Local variables: | ||
| mode: sgml | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,9 +9,9 @@ | |
| <refsect1 role="description"> | ||
| &reftitle.description; | ||
| <methodsynopsis role="oop"> | ||
| <type class="union"><type>int</type><type>false</type></type><methodname>OCILob::erase</methodname> | ||
| <methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam> | ||
| <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> | ||
| <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>OCILob::erase</methodname> | ||
| <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>offset</parameter><initializer>&null;</initializer></methodparam> | ||
| <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam> | ||
| </methodsynopsis> | ||
| <para> | ||
| Erases a specified portion of the internal LOB data starting at a | ||
|
|
@@ -64,6 +64,12 @@ | |
| </row> | ||
| </thead> | ||
| <tbody> | ||
| <row> | ||
| <entry>8.0.0, PECL OCI8 3.0.0</entry> | ||
| <entry> | ||
| <parameter>offset</parameter> and <parameter>length</parameter> are now nullable. | ||
| </entry> | ||
| </row> | ||
| <row> | ||
| <entry>8.0.0, PECL OCI8 3.0.0</entry> | ||
| <entry> | ||
|
|
@@ -80,13 +86,12 @@ | |
| &reftitle.seealso; | ||
| <para> | ||
| <simplelist> | ||
| <member><xref linkend="oci-lob.truncate" /></member> | ||
| <member><xref linkend="oci-lob.truncate"/></member> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like the prototype for Lob::truncate itself hasn't been updated.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do you miss from |
||
| </simplelist> | ||
| </para> | ||
| </refsect1> | ||
|
|
||
| </refentry> | ||
|
|
||
| <!-- Keep this comment at the end of the file | ||
| Local variables: | ||
| mode: sgml | ||
|
|
@@ -107,4 +112,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si | |
| vim: et tw=78 syn=sgml | ||
| vi: ts=1 sw=1 | ||
| --> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.