From 44de46ab69065de2c1b107b3647d69705f9e674d Mon Sep 17 00:00:00 2001 From: Stephen Reay Date: Sun, 11 Aug 2019 23:12:42 +0700 Subject: Add support for callable to the stub generator [ci skip] --- scripts/dev/gen_stub.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') 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"); } -- cgit v1.2.1