| 1 | <?php |
||
| 19 | abstract class AbstractInterfaceType extends AbstractType |
||
| 20 | { |
||
| 21 | use ConfigCallTrait, AutoNameTrait; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * ObjectType constructor. |
||
| 25 | * @param $config |
||
| 26 | */ |
||
| 27 | 8 | public function __construct($config = []) |
|
| 35 | |||
| 36 | abstract public function resolveType($object); |
||
| 37 | |||
| 38 | 8 | public function getKind() |
|
| 42 | |||
| 43 | public function getNamedType() |
||
| 47 | |||
| 48 | 2 | public function isValidValue($value) |
|
| 57 | |||
| 58 | } |
||
| 59 |
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..