| 1 | <?php |
||
| 8 | trait PluginReferenceTrait { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * The associated type system plugin. |
||
| 12 | * |
||
| 13 | * @var \Drupal\graphql\Plugin\GraphQL\TypeSystemPluginInterface |
||
| 14 | */ |
||
| 15 | protected $plugin; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The schema builder object. |
||
| 19 | * |
||
| 20 | * @var \Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface |
||
| 21 | */ |
||
| 22 | protected $builder; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | public function getPlugin() { |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function __sleep() { |
||
| 55 | |||
| 56 | } |
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..