- PHP Depend version: 2.16.1
- PHP Version: 8.3.0 (>= 8.0)
Scanning:
return $a[
$value ?? throw new \InvalidArgumentException('should not be null')
];
Current Behavior
PDepend\Source\Parser\UnexpectedTokenException : Unexpected token: ], line: 3, col: 1
Expected Behavior
No exception scanning should just find a non nullable key offset is searched in $a.