mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-13 20:36:23 +01:00
30 lines
484 B
Plaintext
30 lines
484 B
Plaintext
<?php
|
|
|
|
namespace PHPUnit\Framework\MockObject;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* @template TMockedClass
|
|
*/
|
|
class MockBuilder
|
|
{
|
|
|
|
/**
|
|
* @phpstan-param TestCase $testCase
|
|
* @phpstan-param class-string<TMockedClass> $type
|
|
*/
|
|
public function __construct(TestCase $testCase, $type) {}
|
|
|
|
/**
|
|
* @phpstan-return MockObject&TMockedClass
|
|
*/
|
|
public function getMock() {}
|
|
|
|
/**
|
|
* @phpstan-return MockObject&TMockedClass
|
|
*/
|
|
public function getMockForAbstractClass() {}
|
|
|
|
}
|