Description
PHPStan (level 5, PS 8.x) reports:
```
Property ModuleGridCore::$_direction (string) in isset() is not nullable.
```
isset($this->_direction) is used but $_direction is typed as string (non-nullable), making the condition always true. The check should be replaced with a more appropriate guard (e.g. !empty() or removing it entirely).
To do
Fix the code and remove the corresponding ignoreErrors line from:
tests/php/phpstan/phpstan-8.1.7.neon
tests/php/phpstan/phpstan-8.2.x.neon
Added as ignoreErrors in
#30
Description
PHPStan (level 5, PS 8.x) reports:
```
Property ModuleGridCore::$_direction (string) in isset() is not nullable.
```
isset($this->_direction)is used but$_directionis typed asstring(non-nullable), making the condition always true. The check should be replaced with a more appropriate guard (e.g.!empty()or removing it entirely).To do
Fix the code and remove the corresponding
ignoreErrorsline from:tests/php/phpstan/phpstan-8.1.7.neontests/php/phpstan/phpstan-8.2.x.neonAdded as ignoreErrors in
#30