@@ -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 | { |
@@ -20,9 +20,9 @@ |
||
20 | 20 | */ |
21 | 21 | public function config($folder, $key = null) |
22 | 22 | { |
23 | - $config = include($folder . '/source/config.php' ); |
|
23 | + $config = include($folder . '/source/config.php'); |
|
24 | 24 | |
25 | - return is_null($key) ? $config : array_get($config,$key); |
|
25 | + return is_null($key) ? $config : array_get($config, $key); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | /** |
@@ -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)) { |