MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / demo

Method demo

examples/demo.php:1081–1088  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1079class BrokenDocblockDemo
1080{
1081 public function demo(): void
1082 {
1083 $collection = collect([]);
1084 $collection->groupBy('key'); // multi-line @return resolves correctly
1085
1086 $recovered = (new BrokenDocRecovery())->broken();
1087 $recovered->working(); // recovers `static` from broken @return static<
1088 }
1089}
1090
1091

Callers

nothing calls this directly

Calls 4

groupByMethod · 0.80
brokenMethod · 0.80
workingMethod · 0.80
collectFunction · 0.70

Tested by

no test coverage detected