Skip to content

Commit 1250cb4

Browse files
committed
fix(metadata): apply cs fixer issues
1 parent aea2f42 commit 1250cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Metadata/Extractor/YamlResourceExtractor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ private function buildResources(array $resourcesYaml, string $path): void
7575
$resourceYaml = [$resourceYaml];
7676
}
7777

78-
$resourcesCount = isset($this->resources[$resourceName]) ? count($this->resources[$resourceName]) : 0;
78+
$resourcesCount = isset($this->resources[$resourceName]) ? \count($this->resources[$resourceName]) : 0;
7979
foreach ($resourceYaml as $key => $resourceYamlDatum) {
8080
if (null === $resourceYamlDatum) {
8181
$resourceYamlDatum = [];
8282
}
8383

8484
try {
8585
$base = $this->buildExtendedBase($resourceYamlDatum);
86-
$this->resources[$resourceName][$resourcesCount+$key] = array_merge($base, [
86+
$this->resources[$resourceName][$resourcesCount + $key] = array_merge($base, [
8787
'operations' => $this->buildOperations($resourceYamlDatum, $base),
8888
'graphQlOperations' => $this->buildGraphQlOperations($resourceYamlDatum, $base),
8989
]);

0 commit comments

Comments
 (0)