MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / php_lookup_phpstan_alias

Function php_lookup_phpstan_alias

internal/cbm/lsp/php_lsp.c:640–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640static const CBMType *php_lookup_phpstan_alias(PHPLSPContext *ctx, const char *name) {
641 if (!ctx || !name)
642 return NULL;
643 for (int i = 0; i < ctx->phpstan_alias_count; i++) {
644 if (strcmp(ctx->phpstan_alias_names[i], name) == 0) {
645 return ctx->phpstan_alias_types[i];
646 }
647 }
648 return NULL;
649}
650
651static const CBMType *resolve_phpdoc_type(PHPLSPContext *ctx, const char *type_text) {
652 if (!type_text || !*type_text)

Callers 1

resolve_phpdoc_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected