diff --git a/src/Composer/Package/Link.php b/src/Composer/Package/Link.php index 81ca86e8b..4af6a5a6a 100644 --- a/src/Composer/Package/Link.php +++ b/src/Composer/Package/Link.php @@ -32,7 +32,7 @@ class Link protected $target; /** - * @var ConstraintInterface|null + * @var ConstraintInterface */ protected $constraint; @@ -49,11 +49,11 @@ class Link /** * Creates a new package link. * - * @param string $source - * @param string $target - * @param ConstraintInterface|null $constraint Constraint applying to the target of this link - * @param string $description Used to create a descriptive string representation - * @param string|null $prettyConstraint + * @param string $source + * @param string $target + * @param ConstraintInterface $constraint Constraint applying to the target of this link + * @param string $description Used to create a descriptive string representation + * @param string|null $prettyConstraint */ public function __construct($source, $target, ConstraintInterface $constraint, $description = 'relates to', $prettyConstraint = null) {