summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-04-03 16:49:11 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-03 17:59:30 +0200
commit2bcc4ab8f4422f319b509b8fd5bd251d9326c604 (patch)
tree689f8ba253cc8b4b43454ce70270e0cd0ae69e40 /ext/json
parentd2c92d7fd326b011b509b6daedee5f4e035fcae1 (diff)
downloadphp-git-2bcc4ab8f4422f319b509b8fd5bd251d9326c604.tar.gz
Verify that all stubs have a return type
Diffstat (limited to 'ext/json')
-rw-r--r--ext/json/json.stub.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/json/json.stub.php b/ext/json/json.stub.php
index 90bedef91e..c5713a7980 100644
--- a/ext/json/json.stub.php
+++ b/ext/json/json.stub.php
@@ -11,5 +11,6 @@ function json_last_error_msg(): string {}
interface JsonSerializable
{
+ /** @return mixed */
public function jsonSerialize();
}