modules/stanford_decoupled/src/Plugin/GraphQLCompose/SchemaType/NameType.php
Method getTypes
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
public function getTypes(): array {
$types = [];
if (!$this->moduleHandler->moduleExists('name')) {
return $types;
syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']'
Invalid
Invalid
'fields' => fn() => [
- Exclude checks
Expected 1 space after "="; 0 found Invalid
Invalid
declare(strict_types=1);
- Exclude checks
Expected 1 space before "="; 0 found Invalid
Invalid
declare(strict_types=1);
- Exclude checks
Each index in a multi-line array must be on a new line Invalid
Invalid
'fields' => fn() => [
- Exclude checks