| 1 | <?php |
||
| 23 | class ManganelMetaOptions extends MetaOptions |
||
| 24 | { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Meta container class name for type (class) |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | public $typeClass = DocumentTypeMeta::class; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Meta container class name for method |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | public $methodClass = DocumentMethodMeta::class; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Meta container class name for property |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | public $propertyClass = DocumentPropertyMeta::class; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Namespaces for annotations |
||
| 46 | * @var string |
||
| 47 | */ |
||
| 48 | public $namespaces = [ |
||
| 49 | SearchIndexAnnotation::Ns |
||
| 50 | ]; |
||
| 51 | |||
| 52 | 5 | public function __construct() |
|
| 58 | |||
| 59 | } |
||
| 60 |
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..