Skip to content

Commit 596f0ab

Browse files
committed
s/enableExceptions/enable
1 parent 4c49619 commit 596f0ab

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
@@ -72,7 +72,7 @@ public function createCollation(string $name, callable $callback) {}
7272
public function openBlob(string $table, string $column, int $rowid, string $database = "main", int $flags = SQLITE3_OPEN_READONLY) {}
7373

7474
/** @return bool */
75-
public function enableExceptions(bool $enableExceptions = false) {}
75+
public function enableExceptions(bool $enable = false) {}
7676

7777
/** @return bool */
7878
public function enableExtendedResultCodes(bool $enable = true) {}

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: 0c9de4aeeb9d78aed1207337f3e8446902e9d4cb */
2+
* Stub hash: 7bd73f34dffacbd6c1379566f3e57fe27199e0aa */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3___construct, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
@@ -87,7 +87,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3_openBlob, 0, 0, 3)
8787
ZEND_END_ARG_INFO()
8888

8989
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3_enableExceptions, 0, 0, 0)
90-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enableExceptions, _IS_BOOL, 0, "false")
90+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enable, _IS_BOOL, 0, "false")
9191
ZEND_END_ARG_INFO()
9292

9393
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3_enableExtendedResultCodes, 0, 0, 0)

0 commit comments

Comments
 (0)