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

Add another test

This commit is contained in:
bugreportuser 2019-03-08 09:16:42 -06:00 committed by Matthew Brown
parent c8fffe362a
commit 49b6f01e93

View File

@ -523,6 +523,18 @@ class InterfaceTest extends TestCase
public function foo(array $f) : void {
$this->f = $f;
}
}
class C2 implements I {
/** @var string[] */
private $f = [];
/**
* {@inheritDoc}
*/
public function foo(array $f) : void {
$this->f = $f;
}
}',
],
];