@@ -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)) { |
@@ -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 | /** |