1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
This commit is contained in:
Kuba Werłos 2023-08-12 12:28:23 +02:00
parent 3098e51299
commit 18a4752970

View File

@ -1203,6 +1203,17 @@ class MethodCallTest extends TestCase
'ignored_issues' => [], 'ignored_issues' => [],
'php_version' => '8.0', 'php_version' => '8.0',
], ],
'phpdocObjectTypeAndReferenceInParameter' => [
'code' => '<?php
class Foo {
/**
* @param object $object
*/
public function bar(&$object): void {}
}
$x = new Foo();
$x->bar($x);',
],
]; ];
} }