Skip to content

Commit f70ca0a

Browse files
committed
Mark mysqli_driver properties readonly
1 parent 96a5026 commit f70ca0a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ext/mysqli/mysqli.stub.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44

55
final class mysqli_driver
66
{
7+
/** @readonly */
78
public string $client_info;
89

10+
/** @readonly */
911
public int $client_version;
1012

13+
/** @readonly */
1114
public int $driver_version;
1215

1316
public bool $reconnect = false;

ext/mysqli/mysqli_arginfo.h

Lines changed: 1 addition & 1 deletion
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: 78662c05cd463735a8a4101c0357fd0d2698d48e */
2+
* Stub hash: baf4cb58df96edeb4fc14e4703fe9363cf5ed784 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_affected_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING)
55
ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)

0 commit comments

Comments
 (0)