Completed
Branch develop (11dc02)
by Martin
06:09
created
src/dumpers/DumperInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@  discard block
 block discarded – undo
24 24
      * @param array       $dsn
25 25
      * @param string|null $username
26 26
      * @param string|null $password
27
+     * @return void
27 28
      */
28 29
     public function __construct(array $dsn, $username, $password);
29 30
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
      * Aliases in file name should not be used as they should be resolved earlier.
34 35
      *
35 36
      * @param string $file
37
+     * @return void
36 38
      */
37 39
     public function dump($file);
38 40
 
@@ -42,6 +44,7 @@  discard block
 block discarded – undo
42 44
      * Aliases in file name should not be used as they should be resolved earlier.
43 45
      *
44 46
      * @param string $file
47
+     * @return void
45 48
      */
46 49
     public function restore($file);
47 50
 }
Please login to merge, or discard this patch.
src/dumpers/MysqlDumper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -101,6 +101,9 @@
 block discarded – undo
101 101
         return $fileName;
102 102
     }
103 103
 
104
+    /**
105
+     * @param string $cmd
106
+     */
104 107
     protected function runCommand($cmd)
105 108
     {
106 109
         $process = new Process($cmd);
Please login to merge, or discard this patch.
src/Module.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -110,6 +110,9 @@  discard block
 block discarded – undo
110 110
         return $dumper;
111 111
     }
112 112
 
113
+    /**
114
+     * @param string|null $db
115
+     */
113 116
     protected function getDbComponent($db)
114 117
     {
115 118
         if (!$db) {
@@ -125,6 +128,9 @@  discard block
 block discarded – undo
125 128
         return $component;
126 129
     }
127 130
 
131
+    /**
132
+     * @param string|null $file
133
+     */
128 134
     protected function getDumpFilePath($file)
129 135
     {
130 136
         if (!$file) {
Please login to merge, or discard this patch.