1
0
Fork 0

Use single docblock for parameter types (#10212)

pull/10225/head
Martin Herndl 2021-10-25 21:42:03 +02:00 committed by GitHub
parent 81ad4e7e58
commit f267b01852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -28,8 +28,10 @@ class AliasPackage extends BasePackage
protected $dev; protected $dev;
/** @var bool */ /** @var bool */
protected $rootPackageAlias = false; protected $rootPackageAlias = false;
/** @var string */ /**
/** @phpstan-var 'stable'|'RC'|'beta'|'alpha'|'dev' */ * @var string
* @phpstan-var 'stable'|'RC'|'beta'|'alpha'|'dev'
*/
protected $stability; protected $stability;
/** @var bool */ /** @var bool */
protected $hasSelfVersionRequires = false; protected $hasSelfVersionRequires = false;

View File

@ -58,8 +58,10 @@ class Package extends BasePackage
protected $binaries = array(); protected $binaries = array();
/** @var bool */ /** @var bool */
protected $dev; protected $dev;
/** @var string */ /**
/** @phpstan-var 'stable'|'RC'|'beta'|'alpha'|'dev' */ * @var string
* @phpstan-var 'stable'|'RC'|'beta'|'alpha'|'dev'
*/
protected $stability; protected $stability;
/** @var ?string */ /** @var ?string */
protected $notificationUrl; protected $notificationUrl;