- Issue created by @klausi
This should pass without error:
/**
* Test that nested array types are ok.
*
* @param array<array<scalar|null>|object|scalar|null> $param
* A complex nested array type.
*
* @return array<array<scalar|null>|object|scalar|null>
* An array of results.
*/
function pdo_weird_return_type($param) {
return pdo();
}
Runs Coder against this example code.
Fix doc comment sniff.
Finish PR.
none
Active
8.3
Coder Sniffer