File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ]);
You can’t perform that action at this time.
0 commit comments