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

Method demo

examples/demo.php:847–853  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

845class ObjectShapeDemo
846{
847 public function demo(): void
848 {
849 /** @var object{title: string, score: float} $item */
850 $item = getUnknownValue();
851 $item->title; // Ctrl+Click → jumps to `title:` in docblock above
852 $item->score; // Ctrl+Click → jumps to `score:` in docblock above
853 }
854}
855
856

Callers

nothing calls this directly

Calls 1

getUnknownValueFunction · 0.85

Tested by

no test coverage detected