Completed
Push — master ( bb8953...bf13d5 )
by Haralan
05:26 queued 04:19
created
classes/Migration.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
 		return $this->driver;
38 38
 	}
39 39
 
40
+	/**
41
+	 * @param string $message
42
+	 */
40 43
 	public function log($message)
41 44
 	{
42 45
 		if ($this->config['log'])
@@ -61,6 +64,9 @@  discard block
 block discarded – undo
61 64
 		return $this->dry_run;
62 65
 	}
63 66
 
67
+	/**
68
+	 * @param string $method
69
+	 */
64 70
 	protected function run_driver($title, $method, $args, $will_return = FALSE)
65 71
 	{
66 72
 		if ($title)
Please login to merge, or discard this patch.
classes/Migration/Driver.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,7 @@
 block discarded – undo
13 13
 
14 14
 	/**
15 15
 	 * Get the driver of a srtain type
16
-	 * @param type $type
17
-	 * @return type
16
+	 * @return null|Migration_Driver
18 17
 	 */
19 18
 	static public function factory($database = 'default')
20 19
 	{
Please login to merge, or discard this patch.
classes/Migrations.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -162,6 +162,10 @@  discard block
 block discarded – undo
162 162
 		return array_diff($this->get_migrations(), $this->get_executed_migrations());
163 163
 	}
164 164
 
165
+	/**
166
+	 * @param string $direction
167
+	 * @param boolean $dry_run
168
+	 */
165 169
 	protected function execute($version, $direction, $dry_run)
166 170
 	{
167 171
 		$migration = $this->load_migration($version)->dry_run($dry_run);
@@ -212,6 +216,9 @@  discard block
 block discarded – undo
212 216
 		}
213 217
 	}
214 218
 
219
+	/**
220
+	 * @param string $message
221
+	 */
215 222
 	public function log($message)
216 223
 	{
217 224
 		if ($this->config['log'])
Please login to merge, or discard this patch.