@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * RegexMatcher constructor. |
| 27 | 27 | * |
| 28 | - * @param $regex |
|
| 28 | + * @param string $regex |
|
| 29 | 29 | * @param callable $callable |
| 30 | 30 | */ |
| 31 | 31 | public function __construct($regex, callable $callable) |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | return $this->_end === null; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - public function isValid(Context $context) |
|
| 88 | + public function isValid(Context $context) |
|
| 89 | 89 | { |
| 90 | 90 | if ($this->_valid === null) { |
| 91 | 91 | $this->validate($context); |