summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-02-09 22:38:06 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-02-09 22:38:06 +0100
commit45fa7596dc4247fc8750b4bdb7a57f020997925e (patch)
tree1b36dd2bdedb22ff1b85aff8db287bda5b82118f /ext/json
parent57cb01a9277b6e64a68119499d9f9673b45c6184 (diff)
downloadphp-git-45fa7596dc4247fc8750b4bdb7a57f020997925e.tar.gz
Add missing classes to stubs
Diffstat (limited to 'ext/json')
-rw-r--r--ext/json/json.stub.php4
-rw-r--r--ext/json/json_arginfo.h7
2 files changed, 10 insertions, 1 deletions
diff --git a/ext/json/json.stub.php b/ext/json/json.stub.php
index a9b5bbf511..55cc9068bf 100644
--- a/ext/json/json.stub.php
+++ b/ext/json/json.stub.php
@@ -15,3 +15,7 @@ interface JsonSerializable
/** @return mixed */
public function jsonSerialize();
}
+
+class JsonException extends Exception
+{
+}
diff --git a/ext/json/json_arginfo.h b/ext/json/json_arginfo.h
index c4b20d7013..ded4bf663e 100644
--- a/ext/json/json_arginfo.h
+++ b/ext/json/json_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 2d1e6c422221ec7efbbd540ee777a5ce2c639943 */
+ * Stub hash: 200044f4196cd8efd1ec9a2e93d4bbb63618b3c9 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_json_encode, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
@@ -43,3 +43,8 @@ static const zend_function_entry class_JsonSerializable_methods[] = {
ZEND_ABSTRACT_ME_WITH_FLAGS(JsonSerializable, jsonSerialize, arginfo_class_JsonSerializable_jsonSerialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
ZEND_FE_END
};
+
+
+static const zend_function_entry class_JsonException_methods[] = {
+ ZEND_FE_END
+};