Skip to content

Commit 8756107

Browse files
authored
Fixe use of maybe undefined destDir variable (#17)
1 parent 19b13c0 commit 8756107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/phpdoc-md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ foreach ($config->classes as $className) {
7171
}
7272

7373
// Step 4. generate main README.md with all links to generated docs files
74-
info(sprintf('Generating %s/README.md - documentation entry point', $destDir), $verbose);
74+
info(sprintf('Generating %s/README.md - documentation entry point', $config->destDirectory), $verbose);
7575
file_put_contents($config->destDirectory . '/README.md', $readme);
7676
info('All done', $verbose);
7777

0 commit comments

Comments
 (0)