@@ -18,7 +18,7 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Say to mean only artifacts whose name matches the provided regexp. |
| 20 | 20 | * |
| 21 | - * @param string $regex |
|
| 21 | + * @param string $regexp |
|
| 22 | 22 | * @return ExistingVar |
| 23 | 23 | */ |
| 24 | 24 | public function name($regexp) { |
@@ -17,6 +17,9 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | private $dependency; |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @param string $mode |
|
| 22 | + */ |
|
| 20 | 23 | public function __construct($mode, Vars\Variable $left, Vars\Variable $dependency) { |
| 21 | 24 | parent::__construct($mode, $left); |
| 22 | 25 | $this->dependency = $dependency; |
@@ -17,6 +17,9 @@ discard block |
||
| 17 | 17 | */ |
| 18 | 18 | private $invokes; |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @param string $mode |
|
| 22 | + */ |
|
| 20 | 23 | public function __construct($mode, Vars\Variable $left, Vars\Variable $invokes) { |
| 21 | 24 | parent::__construct($mode, $left); |
| 22 | 25 | $this->invokes = $invokes; |
@@ -28,7 +31,7 @@ discard block |
||
| 28 | 31 | } |
| 29 | 32 | |
| 30 | 33 | /** |
| 31 | - * @return Variable |
|
| 34 | + * @return Vars\Variable |
|
| 32 | 35 | */ |
| 33 | 36 | public function invokes() { |
| 34 | 37 | return $this->invokes; |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * Definition of the entities this rule was defined for. |
| 51 | 51 | * |
| 52 | - * @return Variable |
|
| 52 | + * @return Vars\Variable |
|
| 53 | 53 | */ |
| 54 | 54 | public function subject() { |
| 55 | 55 | return $this->subject; |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * is not subject() if the mode is MODE_ONLY_CAN, as this really says |
| 63 | 63 | * something about the other entities. |
| 64 | 64 | * |
| 65 | - * @return Variable |
|
| 65 | + * @return Vars\Variable |
|
| 66 | 66 | */ |
| 67 | 67 | public function checked_on() { |
| 68 | 68 | if ($this->mode() == self::MODE_ONLY_CAN) { |