Closed
Description
<?php
/**
* @param callable(
* int
* ): string $callable
*/
function takesAnInt(callable $callable) : void {
}
https://phpstan.org/r/e521d1f0-70b7-4cc3-bae6-0e228ad58cc6
This gives parsing error
PHPDoc tag @param has invalid value (callable( int): Unexpected token "(", expected variable at offset 22
Metadata
Metadata
Assignees
Labels
No labels