@@ -6,7 +6,6 @@ |
||
| 6 | 6 | |
| 7 | 7 | use Laminas\Code\Generator\PropertyGenerator; |
| 8 | 8 | use Laminas\Code\Generator\TypeGenerator; |
| 9 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 10 | 9 | use PHPUnit\Framework\TestCase; |
| 11 | 10 | use ProxyManager\ProxyGenerator\ValueHolder\MethodGenerator\GetWrappedValueHolderValue; |
| 12 | 11 | |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | namespace ProxyManagerTest\ProxyGenerator\ValueHolder\MethodGenerator; |
| 6 | 6 | |
| 7 | 7 | use Laminas\Code\Generator\PropertyGenerator; |
| 8 | -use PHPUnit\Framework\MockObject\MockObject; |
|
| 9 | 8 | use PHPUnit\Framework\TestCase; |
| 10 | 9 | use ProxyManager\ProxyGenerator\ValueHolder\MethodGenerator\MagicSleep; |
| 11 | 10 | use ProxyManagerTestAsset\EmptyClass; |
@@ -825,6 +825,7 @@ discard block |
||
| 825 | 825 | * array, |
| 826 | 826 | * ?Closure |
| 827 | 827 | * ) : bool |
| 828 | + * @param Mock $initializerMatcher |
|
| 828 | 829 | */ |
| 829 | 830 | private function createInitializer(string $className, object $realInstance, ?Mock $initializerMatcher = null) : Closure |
| 830 | 831 | { |
@@ -1516,7 +1517,7 @@ discard block |
||
| 1516 | 1517 | } |
| 1517 | 1518 | |
| 1518 | 1519 | /** |
| 1519 | - * @param mixed $expected |
|
| 1520 | + * @param string $expected |
|
| 1520 | 1521 | * @param mixed $actual |
| 1521 | 1522 | */ |
| 1522 | 1523 | private static function assertByRefVariableValueSame($expected, & $actual) : void |
@@ -631,7 +631,7 @@ |
||
| 631 | 631 | } |
| 632 | 632 | |
| 633 | 633 | /** |
| 634 | - * @param mixed $expected |
|
| 634 | + * @param string $expected |
|
| 635 | 635 | * @param mixed $actual |
| 636 | 636 | */ |
| 637 | 637 | private static function assertByRefVariableValueSame($expected, & $actual) : void |
@@ -557,7 +557,7 @@ |
||
| 557 | 557 | } |
| 558 | 558 | |
| 559 | 559 | /** |
| 560 | - * @param mixed $expected |
|
| 560 | + * @param string $expected |
|
| 561 | 561 | * @param mixed $actual |
| 562 | 562 | * |
| 563 | 563 | * @psalm-template ExpectedType |