Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
context = $context;
}
/**
* {@inheritdoc}
*/
public function appliesToKind(int $kinds): bool
{
return ($kinds & CompletionKind::VARIABLE) !== 0;
}
/**
* {@inheritdoc}
*/
public function getCompletions(AnalysisResult $analysis): array
{
// Always return all variables (typically small set, fuzzy matching will handle filtering)
$variables = \array_keys($this->context->getAll());
\sort($variables);
return $variables;
}
}