Skip to content

Commit

Permalink
Remove type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 18, 2023
1 parent 1e4a1f3 commit dd62521
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
12 changes: 0 additions & 12 deletions src/Framework/MockObject/Generator/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ final class Generator
/**
* Returns a test double for the specified class.
*
* @psalm-template RealInstanceType of object
*
* @psalm-param class-string<RealInstanceType> $type
*
* @psalm-return MockObject&RealInstanceType
*
* @throws ClassAlreadyExistsException
* @throws ClassIsEnumerationException
* @throws ClassIsFinalException
Expand Down Expand Up @@ -221,12 +215,6 @@ public function testDoubleForInterfaceIntersection(array $interfaces, bool $mock
*
* Concrete methods to mock can be specified with the $mockedMethods parameter.
*
* @psalm-template RealInstanceType of object
*
* @psalm-param class-string<RealInstanceType> $originalClassName
*
* @psalm-return MockObject&RealInstanceType
*
* @throws ClassAlreadyExistsException
* @throws ClassIsEnumerationException
* @throws ClassIsFinalException
Expand Down
6 changes: 0 additions & 6 deletions src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -1358,12 +1358,6 @@ protected function getMockForAbstractClass(string $originalClassName, array $arg
/**
* Creates a mock object based on the given WSDL file.
*
* @psalm-template RealInstanceType of object
*
* @psalm-param class-string<RealInstanceType>|string $originalClassName
*
* @psalm-return MockObject&RealInstanceType
*
* @throws \PHPUnit\Framework\MockObject\Exception
*
* @deprecated https://github.com/sebastianbergmann/phpunit/issues/5242
Expand Down

0 comments on commit dd62521

Please sign in to comment.