1 | <?php |
||
9 | trait TypeSystemPluginReferenceTrait { |
||
10 | |||
11 | /** |
||
12 | * The associated type system plugin. |
||
13 | * |
||
14 | * @var \Drupal\graphql\Plugin\GraphQL\TypeSystemPluginInterface |
||
15 | */ |
||
16 | protected $plugin; |
||
17 | |||
18 | /** |
||
19 | * Retrieves the corresponding plugin instance from the resolve info. |
||
20 | * |
||
21 | * @param \Youshido\GraphQL\Execution\ResolveInfo $info |
||
22 | * The resolve info object. |
||
23 | * |
||
24 | * @return \Drupal\graphql\Plugin\GraphQL\TypeSystemPluginInterface|null |
||
25 | * The corresponding plugin instance for this edge. |
||
26 | */ |
||
27 | protected function getPluginFromResolveInfo(ResolveInfo $info) { |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function getPlugin(PluggableSchemaBuilderInterface $schemaBuilder) { |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public function __sleep() { |
||
87 | |||
88 | } |
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..