Skip to content
This repository was archived by the owner on Feb 14, 2026. It is now read-only.

Commit e1f5209

Browse files
committed
Rename variable
1 parent 9cb6d84 commit e1f5209

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Concerns/Commands/InteractsWithFilesystem.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ protected function generateTestsForSelectedResource(string $resource, ?string $p
5454
return;
5555
}
5656

57-
$renderResult = $this->renderTestsForResource($resource);
57+
$renderedTests = $this->renderTestsForResource($resource);
5858

5959
File::ensureDirectoryExists(dirname((string) $filePath));
60-
File::put($filePath, $renderResult['content']);
60+
File::put($filePath, $renderedTests['content']);
6161

6262
$panelKey = $panel ?? 'default';
6363

6464
$this->generatedFiles[$panelKey][$resource] = [
6565
'path' => $filePath,
66-
'num_tests' => $renderResult['num_tests'],
66+
'num_tests' => $renderedTests['num_tests'],
6767
];
6868

6969
}

0 commit comments

Comments
 (0)