We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 156-165 (lines=10) @@ | ||
| 153 | * @param Node $typeDef |
|
| 154 | * @param array $config |
|
| 155 | */ |
|
| 156 | private function addInterfaces(Node $typeDef, array &$config) |
|
| 157 | { |
|
| 158 | if (!empty($typeDef->interfaces)) { |
|
| 159 | $interfaces = []; |
|
| 160 | foreach ($typeDef->interfaces as $interface) { |
|
| 161 | $interfaces[] = $this->astTypeNodeToString($interface); |
|
| 162 | } |
|
| 163 | $config['interfaces'] = $interfaces; |
|
| 164 | } |
|
| 165 | } |
|
| 166 | ||
| 167 | /** |
|
| 168 | * @param Node $typeDef |
|
| @@ 171-180 (lines=10) @@ | ||
| 168 | * @param Node $typeDef |
|
| 169 | * @param array $config |
|
| 170 | */ |
|
| 171 | private function addTypes(Node $typeDef, array &$config) |
|
| 172 | { |
|
| 173 | if (!empty($typeDef->types)) { |
|
| 174 | $types = []; |
|
| 175 | foreach ($typeDef->types as $type) { |
|
| 176 | $types[] = $this->astTypeNodeToString($type); |
|
| 177 | } |
|
| 178 | $config['types'] = $types; |
|
| 179 | } |
|
| 180 | } |
|
| 181 | ||
| 182 | /** |
|
| 183 | * @param Node $typeDef |
|