@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * Generate the API documentation using the markdown and include files |
| 62 | 62 | * |
| 63 | 63 | * @param $folder |
| 64 | - * @return bool |
|
| 64 | + * @return false|null |
|
| 65 | 65 | */ |
| 66 | 66 | public function generate($folder) |
| 67 | 67 | { |
@@ -42,7 +42,9 @@ |
||
| 42 | 42 | { |
| 43 | 43 | |
| 44 | 44 | // If source is not a directory stop processing |
| 45 | - if (!is_dir($src)) return false; |
|
| 45 | + if (!is_dir($src)) { |
|
| 46 | + return false; |
|
| 47 | + } |
|
| 46 | 48 | |
| 47 | 49 | // If the destination directory does not exist create it |
| 48 | 50 | if (!is_dir($dest)) { |