| 1 | <?php |
||
| 20 | class _PropertyMatches extends Predicate { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $name; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $regexp; |
||
| 30 | |||
| 31 | 34 | public function __construct($name, Regexp $regexp) { |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritdocs |
||
| 39 | */ |
||
| 40 | public function _compile() { |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @inheritdocs |
||
| 52 | */ |
||
| 53 | 32 | public function compile_to_source(array &$custom_closures) { |
|
| 63 | |||
| 64 | /** |
||
| 65 | * @inheritdocs |
||
| 66 | */ |
||
| 67 | 11 | public function for_types(array $existing_types) { |
|
| 70 | } |
||
| 71 |
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..