We can have situations where we define variables in one file, then we include a second file where we use those variables.
In that second file we can define that a variable is defined by using @var phpdocs, and this is working just fine:
But in case of such variables are used in use function statements, we have a "variable is undefined" warning:
Environment
Eclipse Version: 2025-09
PDT Version: 8.4.0.202509150736
OS: Windows 24H2