summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Reay <stephen.reay@me.com>2019-08-11 23:12:42 +0700
committerChristoph M. Becker <cmbecker69@gmx.de>2019-08-11 18:37:35 +0200
commit44de46ab69065de2c1b107b3647d69705f9e674d (patch)
tree88702d40f8a28b1ee95d401ba8feb2500185e3d0 /scripts
parent1376f61aed2b85b8f7186fb001c9acb281c6fc03 (diff)
downloadphp-git-44de46ab69065de2c1b107b3647d69705f9e674d.tar.gz
Add support for callable to the stub generator [ci skip]
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dev/gen_stub.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/dev/gen_stub.php b/scripts/dev/gen_stub.php
index 80496cc013..48b89da113 100755
--- a/scripts/dev/gen_stub.php
+++ b/scripts/dev/gen_stub.php
@@ -75,6 +75,8 @@ class Type {
return "IS_OBJECT";
case "void":
return "IS_VOID";
+ case "callable":
+ return "IS_CALLABLE";
default:
throw new Exception("Not implemented: $this->name");
}