We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743b535 commit 0cd6319Copy full SHA for 0cd6319
src/Generators/BaseGenerator.php
@@ -96,11 +96,10 @@ protected function prepareDestinationDir(string $toDir): void
96
$this->filesystem->cleanDirectory($toDir);
97
}
98
99
- protected function putWithDirectoryCheck(string $path, string $contents): int|bool
+ protected function putWithDirectoryCheck(string $path, string $contents): void
100
{
101
$this->filesystem->ensureDirectoryExists(dirname($path));
102
-
103
- return $this->filesystem->put($path, $contents);
+ $this->filesystem->put($path, $contents);
104
105
106
private function formattedGlobalParams(): array
0 commit comments