Phpunit upstream indents (prefixes) docblock @param annotations and I can
imagine that some white-space has been taken over from that into the stub
files when writing them.

Also for separation by  empty lines between methods which looks as well
as an error quickly porting from upstream (better than anything else).
This commit is contained in:
Tom Klingenberg 2020-08-05 00:53:33 +02:00
parent 88d464841d
commit a32a2c6899
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class MockBuilder
{ {
/** /**
* @template-typeof T $type * @template-typeof T $type
* @param TestCase $testCase * @param TestCase $testCase
* @param class-string $type * @param class-string $type
*/ */
public function __construct(TestCase $testCase, $type) {} public function __construct(TestCase $testCase, $type) {}

View File

@ -30,6 +30,7 @@ abstract class TestCase extends Assert implements Test, SelfDescribing
* @return ObjectProphecy<T> * @return ObjectProphecy<T>
*/ */
public function prophesize($classOrInterface): ObjectProphecy {} public function prophesize($classOrInterface): ObjectProphecy {}
/** /**
* @param class-string<\Throwable> $exception * @param class-string<\Throwable> $exception
* @return void * @return void