1
0
Fork 0

Improve docblocks of public properties

pull/3481/head
Nils Adermann 2014-12-01 19:07:26 +01:00
parent 107a736440
commit 2c43a3bcd0
3 changed files with 4 additions and 5 deletions

View File

@ -30,7 +30,7 @@ class Rule
const RULE_PACKAGE_ALIAS = 13;
/**
* The literals this rule consists of.
* READ-ONLY: The literals this rule consists of.
* @var array
*/
public $literals;

View File

@ -23,9 +23,9 @@ class RuleSet implements \IteratorAggregate, \Countable
const TYPE_LEARNED = 4;
/**
* Lookup table for rule id to rule object
* READ-ONLY: Lookup table for rule id to rule object
*
* @var array
* @var Rule[]
*/
public $ruleById;

View File

@ -45,8 +45,7 @@ abstract class BasePackage implements PackageInterface
);
/**
* The package id, public for fast access in dependency solver
* Use getId() unless called extremely frequently.
* READ-ONLY: The package id, public for fast access in dependency solver
* @var int
*/
public $id;