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 getPluginDefinition() { |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function getPluginId() { |
||
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | public function __sleep() { |
||
77 | |||
78 | } |
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..