| 1 | <?php |
||
| 6 | class AttributeRef extends Item implements AttributeSingle |
||
| 7 | { |
||
| 8 | |||
| 9 | protected $qualified = true; |
||
| 10 | |||
| 11 | protected $nil = false; |
||
| 12 | |||
| 13 | protected $use = self::USE_OPTIONAL; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * |
||
| 17 | * @var Attribute |
||
| 18 | */ |
||
| 19 | protected $wrapped; |
||
| 20 | |||
| 21 | 39 | public function __construct(AttributeDef $att) |
|
| 26 | /** |
||
| 27 | * |
||
| 28 | * @return AttributeDef |
||
| 29 | */ |
||
| 30 | public function getReferencedAttribute() |
||
| 34 | |||
| 35 | public function getType() |
||
| 39 | |||
| 40 | public function isQualified() |
||
| 44 | |||
| 45 | public function setQualified($qualified) |
||
| 50 | |||
| 51 | public function isNil() |
||
| 55 | |||
| 56 | public function setNil($nil) |
||
| 61 | |||
| 62 | public function getUse() |
||
| 66 | |||
| 67 | public function setUse($use) |
||
| 72 | } |
||
| 73 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..