You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,6 @@ PHPantom focuses on deep type intelligence. Here's how it compares:
51
51
-**Smart PHPDoc completion.**`@throws` detects uncaught exceptions in the method body, `@param` pre-fills from the signature, and tags are filtered to context and never suggested twice.
52
52
-**Array shape inference.** Literal arrays offer key completion with no annotation. Nested shapes, spreads, and array functions like `array_map` preserve element types.
53
53
-**Closure parameter inference.**`$users->map(fn($u) => $u->name)` infers `$u` as `User` from the collection's generic context.
54
-
-**Generator body types.**`yield` and `$x = yield` resolve to the correct `TValue` and `TSend` from the generator's return annotation.
55
54
-**Conditional return types.** PHPStan-style conditional `@return` types resolve to the concrete branch at each call site.
56
55
-**Type aliases and shapes.**`@phpstan-type`, `@phpstan-import-type`, and `object{...}` shapes all resolve through to completions.
57
56
-**Laravel Eloquent.** Relationships, scopes, accessors, casts, and Builder chains resolve end-to-end. No Larastan, no ide-helper, no database access required.
0 commit comments