<?php return (!$a ? [ new class { public function b(): c {} } ] : []);
This code, when run against PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType
, throws Undefined offset: -1 in .../vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php on line 89
error.