summaryrefslogtreecommitdiff
path: root/ext/odbc
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-04 13:03:16 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-04-04 13:03:16 +0200
commita43bc33fb2575cda582167c0d6571e501a2e6496 (patch)
tree536e989e4975d9729716b072b13c89e500359c89 /ext/odbc
parentfc5a88f6140ae6fa978e6ea3ae0fc723971cd4f0 (diff)
downloadphp-git-a43bc33fb2575cda582167c0d6571e501a2e6496.tar.gz
Annotate function aliases in stubs
Diffstat (limited to 'ext/odbc')
-rw-r--r--ext/odbc/odbc.stub.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/odbc/odbc.stub.php b/ext/odbc/odbc.stub.php
index 9eafe46ae5..153f1a8161 100644
--- a/ext/odbc/odbc.stub.php
+++ b/ext/odbc/odbc.stub.php
@@ -34,6 +34,7 @@ function odbc_exec($connection_id, string $query, int $flags = UNKNOWN) {}
/**
* @param resource $connection_id
* @return resource|false
+ * @alias odbc_exec
*/
function odbc_do($connection_id, string $query, int $flags = UNKNOWN) {}
@@ -92,7 +93,10 @@ function odbc_field_type($result_id, int $field_number): string|false {}
/** @param resource $result_id */
function odbc_field_len($result_id, int $field_number): int|false {}
-/** @param resource $result_id */
+/**
+ * @param resource $result_id
+ * @alias odbc_field_len
+ */
function odbc_field_precision($result_id, int $field_number): int|false {}
/** @param resource $result_id */