From f267b01852985da79d2f86f3d0610b8b66feb363 Mon Sep 17 00:00:00 2001 From: Martin Herndl Date: Mon, 25 Oct 2021 21:42:03 +0200 Subject: [PATCH] Use single docblock for parameter types (#10212) --- src/Composer/Package/AliasPackage.php | 6 ++++-- src/Composer/Package/Package.php | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Composer/Package/AliasPackage.php b/src/Composer/Package/AliasPackage.php index 0e737a916..0cdf64798 100644 --- a/src/Composer/Package/AliasPackage.php +++ b/src/Composer/Package/AliasPackage.php @@ -28,8 +28,10 @@ class AliasPackage extends BasePackage protected $dev; /** @var bool */ protected $rootPackageAlias = false; - /** @var string */ - /** @phpstan-var 'stable'|'RC'|'beta'|'alpha'|'dev' */ + /** + * @var string + * @phpstan-var 'stable'|'RC'|'beta'|'alpha'|'dev' + */ protected $stability; /** @var bool */ protected $hasSelfVersionRequires = false; diff --git a/src/Composer/Package/Package.php b/src/Composer/Package/Package.php index 419d8231d..2abb024f1 100644 --- a/src/Composer/Package/Package.php +++ b/src/Composer/Package/Package.php @@ -58,8 +58,10 @@ class Package extends BasePackage protected $binaries = array(); /** @var bool */ protected $dev; - /** @var string */ - /** @phpstan-var 'stable'|'RC'|'beta'|'alpha'|'dev' */ + /** + * @var string + * @phpstan-var 'stable'|'RC'|'beta'|'alpha'|'dev' + */ protected $stability; /** @var ?string */ protected $notificationUrl;