From: Stephen Reay Date: Sun, 11 Aug 2019 16:12:42 +0000 (+0700) Subject: Add support for callable to the stub generator [ci skip] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44de46ab69065de2c1b107b3647d69705f9e674d;p=php Add support for callable to the stub generator [ci skip] --- 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"); }