We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class WeekSchedule { public function getMorning(): string { return 'somevalue'; } }
{varType WeekSchedule $weekSchedule} {var $labels = ['somevalue' => 'other']} <td>{$labels[$weekSchedule->getMorning()] ?? $monday->getMorning()|noescape}</td>
first call of getMorning is marked with error "Method getMorning not found for type mixed", second one is [ok](url)
The text was updated successfully, but these errors were encountered:
@SendiMyrkr Hello, classes without namespace must be prefixed with \. Otherwise, the plugin has no way to detect that it is a class name.
\
Try:
{varType \WeekSchedule $weekSchedule}
Sorry, something went wrong.
That's not problem. That problem is only when you call method as index of array. On different situation is everything ok.
@SendiMyrkr yes, now I'm seeing it. It is a bug, thank you for reporting.
Code completion for methods will be removed in next version
Use Pro plugin: https://plugins.jetbrains.com/plugin/19661-latte-pro here is migration guide from free plugin: https://mesour-intellij-plugins.github.io/latte.html#migration
No branches or pull requests
first call of getMorning is marked with error "Method getMorning not found for type mixed", second one is [ok](url)
The text was updated successfully, but these errors were encountered: