Skip to content

Commit c12da03

Browse files
committed
Add null and false support to gen_stubs
1 parent c4a9d1e commit c12da03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/gen_stub.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,10 @@ public function toTypeCode(): string {
286286
return "IS_STATIC";
287287
case "never":
288288
return "IS_NEVER";
289+
case "null":
290+
return "IS_NULL";
291+
case "false":
292+
return "IS_FALSE";
289293
default:
290294
throw new Exception("Not implemented: $this->name");
291295
}

0 commit comments

Comments
 (0)