[DOC-CVS] [doc-en] master: Language snippets: fix `odbc.changelog.connection-return` (#4646)
[email protected] (Daniel Scherzer via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Daniel Scherzer (DanielEScherzer)
Committer: GitHub (web-flow)
Pusher: DanielEScherzer
Date: 2026-02-03T22:39:08-08:00
Commit: https://github.com/php/doc-en/commit/6860e0623be035595330d876de43ef07c74399b5
Raw diff: https://github.com/php/doc-en/commit/6860e0623be035595330d876de43ef07c74399b5.diff
Language snippets: fix `odbc.changelog.connection-return` (#4646)
Don't include `odbc.changelog.connection-param`, not every function that
returns a connection has a connection parameter (and, in fact, neither of the
existing uses of the connection-return entity, for `odbc_connect()` and
`odbc_pconnect()`, has such a parameter).
Changed paths:
M language-snippets.ent
Diff:
diff --git a/language-snippets.ent b/language-snippets.ent
index 8230335fd5fc..7d4211215ab2 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -1951,8 +1951,7 @@ and <literal xmlns="http://docbook.org/ns/docbook">_</literal> to match a single
</entry>
</row>'>
-<!ENTITY odbc.changelog.connection-return '&odbc.changelog.connection-param;
- <row xmlns="http://docbook.org/ns/docbook">
+<!ENTITY odbc.changelog.connection-return '<row xmlns="http://docbook.org/ns/docbook">
<entry>8.4.0</entry>
<entry>
This function returns a <classname>Odbc\Connection</classname> instance now;