| 1 | <?php |
||
| 16 | abstract class AbstractInterfaceType extends AbstractType |
||
| 17 | { |
||
| 18 | |||
| 19 | |||
| 20 | /** |
||
| 21 | * ObjectType constructor. |
||
| 22 | * @param $config |
||
| 23 | */ |
||
| 24 | 6 | public function __construct($config = []) |
|
| 32 | |||
| 33 | abstract protected function build(InterfaceTypeConfig $config); |
||
| 34 | |||
| 35 | public function resolveType($object) |
||
| 36 | { |
||
| 37 | return $object; |
||
| 38 | } |
||
| 39 | |||
| 40 | 4 | public function checkBuild() |
|
| 47 | |||
| 48 | public function getName() |
||
| 49 | { |
||
| 52 | |||
| 53 | 4 | public function getKind() |
|
| 57 | |||
| 58 | public function isValidValue($value) |
||
| 62 | |||
| 63 | } |
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..