Skip to content

Commit 0c400e6

Browse files
committed
$name is more appropriate
1 parent fa908bf commit 0c400e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/sqlite3/sqlite3.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function busyTimeout(int $milliseconds) {}
3636

3737
#ifndef SQLITE_OMIT_LOAD_EXTENSION
3838
/** @return bool */
39-
public function loadExtension(string $shared_library) {}
39+
public function loadExtension(string $name) {}
4040
#endif
4141

4242
#if SQLITE_VERSION_NUMBER >= 3006011

ext/sqlite3/sqlite3_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: a0f5c79fb71cffc29c8e3a42c0e887a4a144363d */
2+
* Stub hash: 343a1ef283e97363ab012922c7af1913728d1ca6 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3___construct, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
@@ -30,7 +30,7 @@ ZEND_END_ARG_INFO()
3030

3131
#if !defined(SQLITE_OMIT_LOAD_EXTENSION)
3232
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3_loadExtension, 0, 0, 1)
33-
ZEND_ARG_TYPE_INFO(0, shared_library, IS_STRING, 0)
33+
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
3434
ZEND_END_ARG_INFO()
3535
#endif
3636

0 commit comments

Comments
 (0)