We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2bca9b + 9917fdb commit c86190eCopy full SHA for c86190e
lisp/php-mode.el
@@ -481,7 +481,7 @@ In that case set to `NIL'."
481
482
(c-lang-defconst c-primitive-type-kwds
483
php '("int" "integer" "bool" "boolean" "float" "double" "real"
484
- "string" "object" "void" "mixed"))
+ "string" "object" "void" "mixed" "never"))
485
486
(c-lang-defconst c-class-decl-kwds
487
"Keywords introducing declarations where the following block (if any)
tests/type-hints.php
@@ -154,4 +154,8 @@ public function getCallable(
154
public function getNullableCallable(
155
): ?callable {
156
}
157
+
158
+ public function neverReturn(
159
+ ): never {
160
+ }
161
0 commit comments