Completed
Push — master ( d508c6...ead087 )
by smiley
02:37
created
src/Query/SelectAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
 	/**
51 51
 	 * @param      $expr1
52
-	 * @param null $expr2
52
+	 * @param string|null $expr2
53 53
 	 * @param null $func
54 54
 	 *
55 55
 	 * @return void
Please login to merge, or discard this patch.
src/Query/Traits/WhereTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
 	 */
22 22
 	protected $where = [];
23 23
 
24
+	/**
25
+	 * @param string $operator
26
+	 */
24 27
 	protected function _addWhere($val1, $val2 = null, $operator = null, $bind = true, $join = 'AND'){
25 28
 		$operator = strtoupper(trim($operator));
26 29
 		$join = strtoupper(trim($join));
Please login to merge, or discard this patch.
src/Query/UpdateInterface.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -14,8 +14,19 @@
 block discarded – undo
14 14
 
15 15
 interface UpdateInterface extends StatementInterface{
16 16
 
17
+	/**
18
+	 * @return void
19
+	 */
17 20
 	public function table();
21
+
22
+	/**
23
+	 * @return void
24
+	 */
18 25
 	public function set();
26
+
27
+	/**
28
+	 * @return UpdateAbstract
29
+	 */
19 30
 	public function where($val1, $val2, $operator = '=', $bind = true, $join = 'AND');
20 31
 
21 32
 }
Please login to merge, or discard this patch.
src/Query/Dialects/SQLite/CreateTable.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
 			if($this->primaryKey){
53 53
 				$sql .=','.PHP_EOL."\t".'PRIMARY KEY ('.$this->quote($this->primaryKey)
54
-				       .(in_array($this->dir, ['ASC', 'DESC']) ? $this->dir : '').')';
54
+					   .(in_array($this->dir, ['ASC', 'DESC']) ? $this->dir : '').')';
55 55
 			}
56 56
 
57 57
 			$sql .= PHP_EOL.')';
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 
88 88
 
89 89
 		if(is_int($length)&& in_array($type, ['CHAR', 'NCHAR','VARCHAR', 'NVARCHAR', 'CHARACTER'])
90
-		    || is_string($length) && count(explode(',', $length)) === 2 && $type === 'DECIMAL'){
90
+			|| is_string($length) && count(explode(',', $length)) === 2 && $type === 'DECIMAL'){
91 91
 			$field[] = $type_translation.'('. $length . ')';
92 92
 		}
93 93
 		else{
Please login to merge, or discard this patch.