@@ -46,6 +46,9 @@ discard block |
||
| 46 | 46 | /** @var string|null The version vector. */ |
| 47 | 47 | private $version; |
| 48 | 48 | |
| 49 | + /** |
|
| 50 | + * @param string $version |
|
| 51 | + */ |
|
| 49 | 52 | public function __construct(?string $version = null, ?Description $description = null) |
| 50 | 53 | { |
| 51 | 54 | Assert::nullOrStringNotEmpty($version); |
@@ -54,6 +57,11 @@ discard block |
||
| 54 | 57 | $this->description = $description; |
| 55 | 58 | } |
| 56 | 59 | |
| 60 | + /** |
|
| 61 | + * @param string $body |
|
| 62 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
| 63 | + * @param TypeContext $context |
|
| 64 | + */ |
|
| 57 | 65 | public static function create( |
| 58 | 66 | ?string $body, |
| 59 | 67 | ?DescriptionFactory $descriptionFactory = null, |