Closed ging-dev closed 1 month ago
<?php declare(strict_types=1); function a(int $a): string { return ''; } $a = 1; /** @var string */ $a = a($a); // Argument '1' passed to a() is expected to be of type int, string given
maybe related https://github.com/DEVSENSE/phptools-docs/issues/601
preparing pre-release with the fix, thanks!