1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Adding a PHP 7.0-friendly return annotation to a test.

This commit is contained in:
Jon Ursenbach 2018-12-09 16:41:01 -05:00 committed by Matthew Brown
parent cb36c67f6c
commit e6a1369d08

View File

@ -85,7 +85,10 @@ class ReportOutputTest extends TestCase
);
}
public function testGetOutputForGetPsalmDotOrg(): void
/**
* @return void
*/
public function testGetOutputForGetPsalmDotOrg()
{
$file_contents = '<?php
function psalmCanVerify(int $your_code): ?string {