Completed
Branch master (ae3f9d)
by Marcel
04:26
created
src/Documentarian.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
includes/helpers.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,9 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.