@@ -24,6 +24,9 @@ |
||
24 | 24 | */ |
25 | 25 | private $other; |
26 | 26 | |
27 | + /** |
|
28 | + * @param string $regexp |
|
29 | + */ |
|
27 | 30 | public function __construct($regexp, Variable $other) { |
28 | 31 | parent::__construct($other->name()); |
29 | 32 | if (!is_string($regexp) or @preg_match("%$regexp%", "") === false) { |