]> granicus.if.org Git - php/commitdiff
Add support for callable to the stub generator [ci skip]
authorStephen Reay <stephen.reay@me.com>
Sun, 11 Aug 2019 16:12:42 +0000 (23:12 +0700)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 11 Aug 2019 16:37:35 +0000 (18:37 +0200)
scripts/dev/gen_stub.php

index 80496cc013eecb336302af7ed5a66ebba6fc70ad..48b89da1138fde411da14c09cf98d6525a5b8c3b 100755 (executable)
@@ -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");
         }