phpstan: ignore Return type of call to method PHPUnit\Framework\TestCase::createMock() contains unresolvable type.
This commit is contained in:
@ -55,6 +55,7 @@ final class MessageTest extends TestCase
|
|||||||
*/
|
*/
|
||||||
public function messages(): Generator
|
public function messages(): Generator
|
||||||
{
|
{
|
||||||
|
/** @phpstan-ignore-next-line */
|
||||||
$consumer = $this->createMock(Consumer::class);
|
$consumer = $this->createMock(Consumer::class);
|
||||||
$consumer->method('fin')->willReturn(new Success());
|
$consumer->method('fin')->willReturn(new Success());
|
||||||
$consumer->method('touch')->willReturn(new Success());
|
$consumer->method('touch')->willReturn(new Success());
|
||||||
|
Reference in New Issue
Block a user