1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Rewrite docblock param types

This commit is contained in:
Matthew Brown 2019-06-01 16:46:10 -04:00
parent 736f01c29e
commit e7d2a2e0b4

View File

@ -170,6 +170,8 @@ class MoveMethodTest extends \Psalm\Tests\TestCase
const C = 5;
/**
* @param self $a1
* @param ?self $a2
* @return self
*/
public static function Foo(self $a1, ?self $a2) : self {
@ -207,6 +209,8 @@ class MoveMethodTest extends \Psalm\Tests\TestCase
const D = 5;
/**
* @param A $a1
* @param null|A $a2
* @return A
*/
public static function Fedbca(A $a1, ?A $a2) : A {