1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
This commit is contained in:
Bruce Weirdan 2023-02-15 03:02:34 -04:00
parent 8c491e93e8
commit d6b75057a4
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D

View File

@ -333,6 +333,7 @@ class DocumentationTest extends TestCase
$all_shortcodes = []; $all_shortcodes = [];
foreach ($all_issues as $issue_type) { foreach ($all_issues as $issue_type) {
/** @var class-string $issue_class */
$issue_class = '\\Psalm\\Issue\\' . $issue_type; $issue_class = '\\Psalm\\Issue\\' . $issue_type;
/** @var int $shortcode */ /** @var int $shortcode */
$shortcode = $issue_class::SHORTCODE; $shortcode = $issue_class::SHORTCODE;